edit-icon download-icon


Last Updated: Apr 14, 2018


Sets the state of the specified CMK to Enabled, thereby permitting its use for cryptographic operations.

Request parameters

Name Type Required Description
KeyId String Yes Globally unique identifier of the CMK.

Response parameters

Name Type Description
RequestId String ID of the request.


Request example

  1. https://kms.cn-hangzhou.aliyuncs.com/?Action=EnableKey
  2. &KeyId=<cmkid>
  3. &<Common Request Parameters>

Response example

JSON format

  1. //json response
  2. {
  3. "RequestId": "efb1cbbd-a093-4278-bc03-639dd4fcc207"
  4. }

XML format

  1. //xml response
  2. <KMS>
  3. <RequestId>efb1cbbd-a093-4278-bc03-639dd4fcc207</RequestId>
  4. </KMS>
Thank you! We've received your feedback.