Mengubah Kebijakan Enkripsi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyEncryptionDBSecret |
update |
*DBCluster
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster. |
pc-**************** |
| EncryptionDBStatus |
string |
No |
Status kunci. Nilai valid:
|
Enabled |
| EncryptionKey |
string |
No |
ID kunci. |
749c1df7-****-****-****-********* |
| RoleArn |
string |
No |
Global Resource Descriptor (GRD) peran. Untuk informasi lebih lanjut, lihat Ikhtisar peran RAM. |
acs:ram::1406926*****:role/aliyunrdsinstanceencryptiondefaultrole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
4CE6DF97-AEA4-484F-906F-C407EE****** |
| Message |
string |
The returned message. Catatan
If the request is successful, `Successful` is returned. If the request fails, an error message is returned, such as an error code. |
Successful |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| DBClusterId |
string |
The cluster ID. |
pc-*************** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4CE6DF97-AEA4-484F-906F-C407EE******",
"Message": "Successful",
"Success": true,
"DBClusterId": "pc-***************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.