Queries the custom keys for an instance.
Operation description
You can use the custom keys returned by this operation 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 ID of the destination region. You can call the DescribeRegions operation to query available regions. |
cn-shanghai |
| RoleARN |
string |
No |
The Alibaba Cloud Resource Name (ARN) of the RAM 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 |
A 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.