ec2-delete-keypair key_pair
key_pair
Deletes the specified key pair, by removing the public key from Amazon EC2
Name of the key pair.
Example: primary_keypair
primary_keypair
Yes
Amazon EC2 returns a table that contains the following information:
Output type identifier ("KEYPAIR")
Name of the deleted key pair
Private key fingerprint
Amazon EC2 displays errors on stderr.
stderr
This example deletes the gsg-keypair key pair.
PROMPT> ec2-delete-keypair gsg-keypair KEYPAIR gsg-keypair
PROMPT>
KEYPAIR gsg-keypair
ec2-add-keypair
ec2-describe-keypairs
Submit feedback about this site to: