Cloud Keys 2020 Android Edition

Questions / Feedback?

GetKeyRotationStatus Method

Retrieves the key rotation status for a CMK.

Syntax

public boolean getKeyRotationStatus(String keyId);

Remarks

This method retrieves the key rotation status for the CMK specified by KeyId; it will return true if the CMK's key material is set to be automatically rotated, or false if not.

The value passed for the KeyId parameter must be the Id or ARN of a CMK in the current Region. If an ARN is provided, it can be for a CMK in another account so long as the appropriate permissions are in place.

This method will always return false for asymmetric CMKs, CMKs with imported key material, and CMKs that reside in a custom key store, as such CMKs do not support automatic key rotation. This method will also return false if the server returns an error for any other reason.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 Android Edition - Version 20.0 [Build 7718]