LoginSignup
0
0

More than 1 year has passed since last update.

AWS KMS describe-key --key-id にはエイリアスを指定できる

Posted at

今までキーIDしか指定できないと思っていた。

aws kms describe-key --key-id 1234abcd-12ab-34cd-56ef-1234567890ab

describe-key
--key-id
[--grant-tokens ]
[--cli-input-json ]
[--generate-cli-skeleton ]

しっかりドキュメントに書いてあった。

For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Alias name: alias/ExampleAlias
Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

--key-id にエイリアスを指定。

aws kms describe-key --key-id alias/mykey

image.png

参考記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0