ec2-describe-keypairs [key_id ...]
key_id
Describes the current state of each specified key. If no keys are specified, all keys owned by the current user are included in the output.
Names of one or more keys.
Example: gsg-keypair
gsg-keypair
No
Amazon EC2 returns a table that contains the following information:
A output type identifier ("KEYPAIR")
Key pair identifier
Private key fingerprint
Amazon EC2 displays errors on stderr.
stderr
This example describes the state of the current keys.
PROMPT> ec2-describe-keypairs gsg-keypair KEYPAIR gsg-keypair 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f
PROMPT>
KEYPAIR gsg-keypair 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f
ec2-add-keypair
ec2-delete-keypair
Submit feedback about this site to: