Mengkueri kunci Key Management Service (KMS) yang tersedia untuk enkripsi disk.
Deskripsi operasi
Kunci yang dikueri hanya tersedia untuk enkripsi disk.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeKmsKeys |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID region. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar region terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
60EEBD77-227C-5B39-86EA-D89163C5**** |
| KmsKeys |
array<object> |
Kunci KMS. |
|
|
object |
|||
| KeyAlias |
string |
Alias dari kunci tersebut. |
key-shh656820f4mh9qxxxxx alias/test1 |
| KeyId |
string |
ID kunci. |
37291352-xxxx-xxxx-adbf-fd0630a95583 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "60EEBD77-227C-5B39-86EA-D89163C5****",
"KmsKeys": [
{
"KeyAlias": "key-shh656820f4mh9qxxxxx alias/test1",
"KeyId": "37291352-xxxx-xxxx-adbf-fd0630a95583"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | EntityNotExistUser | The User does not exist. | |
| 404 | EntityNotExistService | The Service mongodb.aliyuncs.com does not exist. | |
| 404 | NoPermissionService | The Account NoPermission Error! Please Authorize The Account! Service Name: mongodb.aliyuncs.com, SLR Role:AliyunServiceRoleForMongoDB. | |
| 409 | EntityAlreadyExistsRole | The Role already exists:AliyunServiceRoleForMongoDB. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.