API Name | API Description | Description |
ListKeys | List the keys (KeyId information) under your account. | |
DescribeKey | View the details of the specified CMK. The information includes key details such as the CMK name, ID, status, and region. |
tccli kms ListKeys --region ap-guangzhou --Limit 5
{"Keys": [{"KeyId": "6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09"},{"KeyId": "6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09"},{"KeyId": "6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09"},{"KeyId":"6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09"},{"KeyId": "6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09"}],"TotalCount": 114,"RequestId": "afaaeb5e-c97d-4726-8012-6ae337d62928"}
tccli kms DescribeKey --region ap-guangzhou --KeyId 521xxxxx-xxxx-xxxx-xxxx-52xxxxd4
{"KeyMetadata": {"KeyId": "6xxxxxxx-xxxx-xxxx-xxxx-5xxxxxxxxc09","Description": "this is test for gz key","CreatorUin": 10xxxxxxxxxx,"KeyRotationEnabled": false,"NextRotateTime": 1603439621,"CreateTime": 1571903621,"Alias": "test-gz01","KeyUsage": "ENCRYPT_DECRYPT","DeletionDate": 0,"KeyState": "Enabled","Type": 4,"Owner": "user"},"RequestId": "608f514c-3279-44ea-8e4c-c00b69e3521c"}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback