Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is
Disabled. To enable the KMS key, use
EnableKey.
For more information about scheduling and canceling deletion of a KMS key, see
Deleting KMS keys in the
Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For details, see
Key states of 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:CancelKeyDeletion (key policy)
Related operations:
ScheduleKeyDeletionEventual consistency: The KMS API follows an eventual consistency model. For more information, see
KMS eventual consistency.