API Name | Description | Note |
GetKeyRotationStatus | Views key rotation status | The KeyId parameter is required for this API. For more information, please see the GetKeyRotationStatus API document. |
EnableKeyRotation | Enables key rotation | The KeyId parameter is required for this API. For more information, please see the EnableKeyRotation API document. |
DisableKeyRotation | Disables key rotation | The KeyId parameter is required for this API. For more information, please see the DisableKeyRotation API document. |
tccli kms GetKeyRotationStatus --region ap-guangzhou --KeyId 5xxxxx-xxxx-xxxx-xxxx-52xxxxx4
{"KeyRotationEnabled": false,"RequestId": "e1432224-4dc2-48da-a8e8-e84d30afd9ef"}
tccli kms EnableKeyRotation --region ap-guangzhou --KeyId 5xxxxx-xxxx-xxxx-xxxx-52xxxxx4
{"RequestId": "4e0fa96f-e86e-4517-af27-3dfe6e5b2a72"}
tccli kms DisableKeyRotation --region ap-guangzhou --KeyId 5xxxxx-xxxx-xxxx-xxxx-52xxxxx4
{"RequestId": "c8b73c8b-1ee5-4b23-b800-7cccc58e7ffb"}
Was this page helpful?