DisableKey

Last Updated: Mar 14, 2017

Disable key (DisableKey)

Disables a specified key. A disabled key cannot be used for encryption or decryption. The ciphertext encrypted using the key cannot be decrypted until the key is enabled again.

  • Request format
    1. KeyId="string"
  • Request parameters
    • KeyId
      • Description: Globally unique identifier of the CMK
      • Type: String
      • Required or not: Yes
  • Return format
    1. {
    2. "RequestId":"string"
    3. }
  • Return parameters

    • RequestId
      • Description: Random access ID
      • Type: String
  • Return example:

  1. //json response
  2. {
  3. "RequestId": "2fe70ce2-3303-4fd6-b3ac-472fb2705c62"
  4. }
  5. //xml response
  6. <KMS>
  7. <RequestId>2fe70ce2-3303-4fd6-b3ac-472fb2705c62</RequestId>
  8. </KMS>
Thank you! We've received your feedback.