ec2-delete-keypair From Amazon Elastic Compute Cloud: 2008-12-01 previous page next page ec2-delete-keypairSyntax ec2-delete-keypair key_pair Description Deletes the specified key pair, by removing the public key from Amazon EC2 OptionsOptionDescriptionRequiredkey_pairName of the key pair. Example: primary_keypair YesOutput Amazon EC2 returns a table that contains the following information: Output type identifier ("KEYPAIR")Name of the deleted key pairPrivate key fingerprint Amazon EC2 displays errors on stderr. ExampleThis example deletes the gsg-keypair key pair.PROMPT> ec2-delete-keypair gsg-keypair KEYPAIR gsg-keypairRelated Topics DeleteKeyPair ec2-add-keypair ec2-describe-keypairs previous page start next page