Cancels the deletion of a customer master key (CMK). When this operation
succeeds, the key state of the CMK is Disabled
. To enable the CMK, use
enable_key
.
For more information about scheduling and canceling deletion of a CMK,
see Deleting Customer Master Keys
in the AWS Key Management Service Developer Guide.
The CMK that you use for this operation must be in a compatible key
state. For details, see How Key State Affects Use of a Customer Master Key
in the AWS Key Management Service Developer Guide.
Cross-account use: No. You cannot perform this operation on a CMK in
a different AWS account.
Required permissions:
kms:CancelKeyDeletion
(key policy)
Related operations:
schedule_key_deletion