擷取加密資訊
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
polardb:DescribeEncryptionDBSecret |
none |
*DBCluster
|
無 | 無 |
請求文法
POST HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| DBClusterId |
string |
否 |
叢集 ID。 |
pc-wz9fb5nn44u1d**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
944CED46-A6F7-40C6-B6DC-C6E5CC****** |
| EncryptionKeyStatus |
string |
密鑰的狀態。傳回值:
|
Disabled |
| EncryptionKey |
string |
自訂金鑰識別碼。 |
2a4f4ac2-****-****-****-************ |
| EncryptionDBStatus |
string |
是否開通加密,取值: Enabled:開通 Disabled:關閉 |
cn-beijing |
| DBClusterId |
string |
叢集 ID。 |
pc-************* |
| EncryptionDBRegion |
string |
加密金鑰所在的地區。 |
Enabled |
樣本
正常返回樣本
JSON格式
{
"RequestId": "944CED46-A6F7-40C6-B6DC-C6E5CC******",
"EncryptionKeyStatus": "Disabled",
"EncryptionKey": "2a4f4ac2-****-****-****-************",
"EncryptionDBStatus": "cn-beijing",
"DBClusterId": "pc-*************",
"EncryptionDBRegion": "Enabled"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。