Queries encryption key information.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
polardb:DescribeEncryptionDBSecret | none | *DBCluster
| None | None |
Request syntax
POST HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
DBClusterId | string | No | The cluster ID. | pc-wz9fb5nn44u1d**** |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 944CED46-A6F7-40C6-B6DC-C6E5CC****** |
EncryptionKeyStatus | string | The status of the key. Valid values:
| Disabled |
EncryptionKey | string | The custom key ID. | 2a4f4ac2-****-****-****-************ |
EncryptionDBStatus | string | Indicates whether encryption is enabled. Valid values: Enabled: Encryption is enabled. Disabled: Encryption is disabled. | cn-beijing |
DBClusterId | string | The cluster ID. | pc-************* |
EncryptionDBRegion | string | The region where the encryption key is located. | Enabled |
Examples
Success response
JSON format
{
"RequestId": "944CED46-A6F7-40C6-B6DC-C6E5CC******",
"EncryptionKeyStatus": "Disabled",
"EncryptionKey": "2a4f4ac2-****-****-****-************",
"EncryptionDBStatus": "cn-beijing",
"DBClusterId": "pc-*************",
"EncryptionDBRegion": "Enabled"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.