ディスク暗号化に使用できる Key Management Service (KMS) キーを照会します。
操作説明
照会されたキーは、ディスク暗号化にのみ使用できます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dds:DescribeKmsKeys |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
リージョン ID。DescribeRegions 操作を呼び出して、最新のリージョンリストを照会できます。 |
cn-hangzhou |
レスポンスフィールド
|
パラメーター |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
60EEBD77-227C-5B39-86EA-D89163C5**** |
| KmsKeys |
array |
KMS キー。 |
|
|
object |
|||
| KeyAlias |
string |
キーのエイリアス。 |
key-shh656820f4mh9qxxxxx alias/test1 |
| KeyId |
string |
キー ID。 |
37291352-xxxx-xxxx-adbf-fd0630a95583 |
例
成功レスポンス
JSONJSON
{
"RequestId": "60EEBD77-227C-5B39-86EA-D89163C5****",
"KmsKeys": [
{
"KeyAlias": "key-shh656820f4mh9qxxxxx alias/test1",
"KeyId": "37291352-xxxx-xxxx-adbf-fd0630a95583"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。