Mengkueri daftar kunci KMS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeUserEncryptionKeyList |
get |
*DBCluster.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Ukuran halaman. Valid values:
|
30 |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| DBClusterId |
string |
No |
ID kluster. Catatan
Anda dapat memanggil operasi DescribeDBClusters untuk mengkueri informasi tentang semua kluster di wilayah yang ditentukan, termasuk ID kluster. |
pc-************ |
| RegionId |
string |
No |
ID wilayah. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri wilayah yang tersedia untuk akun saat ini, termasuk ID wilayah. |
cn-hangzhou |
| TDERegion |
string |
No |
Wilayah tempat kunci TDE berada. |
cn-beijing |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
A7E6A8FD-C50B-46B2-BA85-D8B8D3****** |
| KeyList |
array |
Daftar kunci kluster. |
|
|
string |
Daftar kunci. |
0275bd3f-fdbb-4d8c-846b-71b211****** |
|
| TotalRecordCount |
integer |
Jumlah total catatan. |
1 |
| PageRecordCount |
integer |
Jumlah catatan di halaman saat ini. |
1 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Ukuran halaman. |
30 |
| DBClusterId |
string |
ID kluster. |
pc-************ |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A7E6A8FD-C50B-46B2-BA85-D8B8D3******",
"KeyList": [
"0275bd3f-fdbb-4d8c-846b-71b211******"
],
"TotalRecordCount": 1,
"PageRecordCount": 1,
"PageNumber": 1,
"PageSize": 30,
"DBClusterId": "pc-************"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ByokRoleArnNotFound | The roleArn can't be null. | |
| 401 | ByokNotAuthorizedToRds | This user is not Authorized Rds. | Pengguna ini tidak diotorisasi oleh RDS. |
| 403 | UnsupportedKmsService.NotEnabled | KMS service is not enabled. | Layanan KMS tidak diaktifkan. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | Operasi gagal. ID instans kluster yang ditentukan tidak ada. |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | DBClusterId yang ditentukan tidak ada dalam catatan saat ini. |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | DBClusterId yang ditentukan tidak ada dalam catatan kami. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.