Mengambil detail pengaturan Enkripsi Data Transparan (TDE) untuk kluster PolarDB yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterTDE |
get |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-*************** |
deskripsi
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AutomaticRotation |
string |
Menunjukkan apakah rotasi kunci otomatis diizinkan. Nilai yang valid:
Catatan
Parameter ini hanya dikembalikan ketika mesin database kompatibel dengan sintaks PostgreSQL atau Oracle. |
Enabled |
| DBClusterId |
string |
ID unik kluster. |
pc-*************** |
| EncryptNewTables |
string |
Menunjukkan apakah enkripsi otomatis diaktifkan untuk semua tabel yang baru dibuat. Nilai yang valid:
Catatan
Parameter ini hanya dikembalikan ketika mesin database kompatibel dengan MySQL. |
ON |
| EncryptionKey |
string |
ID kunci kustom. |
2a4f4ac2-****-****-****-************ |
| RequestId |
string |
ID unik permintaan. |
E37D1508-EC3B-4E06-A24A-C7AC31****** |
| RotationInterval |
string |
Interval rotasi kunci otomatis yang dikonfigurasi di KMS. Jika tidak ada interval rotasi kunci otomatis yang ditetapkan, nilai 0 s dikembalikan. Satuan: s. Misalnya, jika interval rotasi adalah 7 hari, nilai yang dikembalikan adalah 604800 s. Catatan
Parameter ini hanya dikembalikan ketika mesin database kompatibel dengan sintaks PostgreSQL atau Oracle, dan nilai |
604800s |
| TDERegion |
string |
Wilayah tempat kunci TDE berada. |
cn-beijing |
| TDEStatus |
string |
Menunjukkan apakah enkripsi TDE diaktifkan. Nilai yang valid:
|
Enabled |
| EncryptionKeyStatus |
string |
Status kunci. Nilai yang valid:
|
Enabled |
deskripsi
Contoh
Respons sukses
JSONformat
{
"AutomaticRotation": "Enabled",
"DBClusterId": "pc-***************",
"EncryptNewTables": "ON",
"EncryptionKey": "2a4f4ac2-****-****-****-************",
"RequestId": "E37D1508-EC3B-4E06-A24A-C7AC31******",
"RotationInterval": "604800s",
"TDERegion": "cn-beijing",
"TDEStatus": "Enabled",
"EncryptionKeyStatus": "Enabled"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.