Queries the list of custom keys used by an ApsaraDB for Tair (Redis® OSS-Compatible) database instance.
Operation description
When you invoke ModifyInstanceTDE to enable transparent data encryption (TDE) and encrypt data, you can use a custom key. This operation helps you query the custom keys used by the instance. To create a custom key, invoke the CreateKey operation of Key Management Service (KMS).
For more information about transparent data encryption (TDE) and precautions, see Enable transparent data encryption (TDE).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeEncryptionKeyList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can call the DescribeInstances operation to query the instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
10E2160B-959C-5C3E-BFE6-86EC5925**** |
| KeyIds |
object |
||
| KeyId |
array |
The list of custom keys available in the region. |
|
|
string |
The custom key. |
a0e7e2c9-8ee5-40ed-bbca-7dbc******** |
Examples
Success response
JSON format
{
"RequestId": "10E2160B-959C-5C3E-BFE6-86EC5925****",
"KeyIds": {
"KeyId": [
"a0e7e2c9-8ee5-40ed-bbca-7dbc********"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.