Sets the state of a customer master key (CMK) to disabled. This change
temporarily prevents use of the CMK for cryptographic operations.
For more information about how key state affects the use of a CMK, see
How Key State Affects the Use of a Customer Master Key
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:DisableKey
(key policy)
Related operations: enable_key