Queries the keys that are used by Transparent Data Encryption (TDE) for a PolarDB-X instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeUserEncryptionKeyList | The operation that you want to perform. Set the value to DescribeUserEncryptionKeyList. |
DBInstanceName | String | No | pxc-hzjasdyu**** | The ID of the instance. |
RegionId | String | No | cn-hangzhou | The region ID of the instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | FEA5DC20-6D8A-5979-97AA-FC57546ADC20 | The ID of the request. |
Data | Object | The returned data. | |
KeyIds | Array of String | RkVBNURDMjAtNkQ4QS01OTc5LTk3QUEtRkM1NzU0Nk****** | The keys that are used by TDE to encrypt data. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeUserEncryptionKeyList
&DBInstanceName=pxc-hzjasdyu****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeUserEncryptionKeyListResponse>
<RequestId>FEA5DC20-6D8A-5979-97AA-FC57546ADC20</RequestId>
<Data>
<KeyIds>RkVBNURDMjAtNkQ4QS01OTc5LTk3QUEtRkM1NzU0Nk******</KeyIds>
</Data>
</DescribeUserEncryptionKeyListResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "FEA5DC20-6D8A-5979-97AA-FC57546ADC20",
"Data" : {
"KeyIds" : [ "RkVBNURDMjAtNkQ4QS01OTc5LTk3QUEtRkM1NzU0Nk******" ]
}
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
403 | IncorrectEngineVersion | The current engine version does not support the operation. | The error message returned because the engine version of the specified PolarDB-X instance does not support this operation. |
For a list of error codes, visit the API Error Center.