DescribeUserEncryptionKeyList
Queries the custom key list of an instance.
Operation description
You can use the custom keys obtained by calling DescribeUserEncryptionKeyList to enable transparent data encryption (TDE). For more information, see ModifyDBInstanceTDE.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeUserEncryptionKeyList |
get |
*dbinstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bpxxxxxxxx |
| TargetRegionId |
string |
No |
The target zone ID. You can call the DescribeRegions operation to query available zones. |
cn-shanghai |
| RoleARN |
string |
No |
The Alibaba Cloud Resource Name (ARN) of the specified role. Format: Note
|
acs:ram::123456789012****:role/aliyunrdsinstanceencryptiondefaultrole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7CD51DA4-A499-43CE-B9B5-20CD4FDC648E |
| KeyIds |
object |
||
| KeyId |
array |
The list of instance keys. |
|
|
string |
The instance key. |
2a4f4ac2-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "7CD51DA4-A499-43CE-B9B5-20CD4FDC648E",
"KeyIds": {
"KeyId": [
"2a4f4ac2-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | INVALID_INSNAME_REGIONID_EMPTY | The insName and regionId can't be all empty |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.