API Name | Description | Note |
EnableKey | Enables a CMK | The KeyId parameter is required for this API. For more information, please see the EnableKey API document. |
DisableKey | Disables a CMK | The KeyId parameter is required for this API. For more information, please see the DisableKey API document. |
tccli kms EnableKey --region ap-guangzhou --KeyId 5xxxxx-xxxx-xxxx-xxxx-52xxxxx4
{"RequestId": "6b2187b0-f40a-46d0-8065-2434afc54619"}
tccli kms DisableKey --region ap-guangzhou --KeyId 5xxxxx-xxxx-xxxx-xxxx-52xxxxx4
{"RequestId": "e5674638-1466-4607-a3ea-b60d30f4e5e3"}
Was this page helpful?