Mengkueri informasi kunci enkripsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeEncryptionDBSecret |
none |
*DBCluster
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
No |
ID kluster. |
pc-wz9fb5nn44u1d**** |
Elemen respons
|
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 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "944CED46-A6F7-40C6-B6DC-C6E5CC******",
"EncryptionKeyStatus": "Disabled",
"EncryptionKey": "2a4f4ac2-****-****-****-************",
"EncryptionDBStatus": "cn-beijing",
"DBClusterId": "pc-*************",
"EncryptionDBRegion": "Enabled"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.