Module Smaws_Client_KMS.ListKeyRotations

val request : Smaws_Lib.Context.t -> list_key_rotations_request -> (list_key_rotations_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidArnException of invalid_arn_exception | `InvalidMarkerException of invalid_marker_exception | `KMSInternalException of kms_internal_exception | `KMSInvalidStateException of kms_invalid_state_exception | `NotFoundException of not_found_exception | `UnsupportedOperationException of unsupported_operation_exception ]) Stdlib.result

Returns information about all completed key material rotations for the specified KMS key.

You must specify the KMS key in all requests. You can refine the key rotations list by limiting the number of rotations returned.

For detailed information about automatic and on-demand key rotations, see Rotating KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListKeyRotations (key policy)

Related operations:

  • EnableKeyRotation
  • DisableKeyRotation
  • GetKeyRotationStatus
  • RotateKeyOnDemand

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.