aws ec2 describe-key-pairs
{ "KeyPairs": [ { "KeyPairId": "key-0a0f9881ba29a5978", "KeyFingerprint": "ee:74:9e:3f:e5:02:7d:ae:60:e8:5d:cb:68:4a:cb:07:b5:a7:ce:91", "KeyName": "YourKeyName", "Tags": [] } ] }
aws ec2 describe-key-pairs --output=text
Related commands[edit]
See also[edit]
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
]
Advertising: