EC2-DELETE-KEYPAIR(1)

πŸ“¦ version 1.6.14.1, in ubuntu jammy, ubuntu noble

πŸ’– EC2-DELETE-KEYPAIR πŸ’–

okay bestie, so this is the manual for ec2-delete-keypair, a lil' User Command from the EC2 API command line tools family. it does exactly one thing and it does it flawlessly: it deletes an existing keypair. bye babe πŸ‘‹πŸ”‘


✨ NAME ✨

ec2-delete-keypair β€” Delete an existing keypair


🌸 SYNOPSIS 🌸

 ec2delkey ([ec2-delete-keypair])
 ec2delkey [GENERAL OPTIONS] KEY

πŸ¦‹ GENERAL NOTES πŸ¦‹

real talk, this applies to every option and parameter on this page: you can pass it a value of - and that means "hey, read the values for this option from stdin instead." yes, even that one. all of them. iconic behavior tbh.


πŸ’… DESCRIPTION πŸ’…

Delete an existing keypair. that's it. that's the gig.

the KEY parameter is literally just the name of the keypair you wanna delete. no cap.


πŸŽ€ GENERAL OPTIONS πŸŽ€

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. defaults to whatever the AWS_ACCESS_KEY environment variable is set to (if it's set at all).
  • -W, --aws-secret-key KEY β€” your AWS Secret Access Key. defaults to the value of the AWS_SECRET_KEY environment variable (if set).
  • -T, --security-token TOKEN β€” AWS delegation token. defaults to the value of the AWS_DELEGATION_TOKEN environment variable (if set).
  • -K, --private-key KEY β€” [DEPRECATED] 🚩 specify KEY as the private key to use. defaults to the value of the EC2_PRIVATE_KEY environment variable (if set). overrides the default.
  • -C, --cert CERT β€” [DEPRECATED] 🚩 specify CERT as the X509 certificate to use. defaults to the value of the EC2_CERT environment variable (if set). overrides the default.
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (us-east-1) or to the value of the EC2_URL environment variable (if set). overrides the default.
  • --region REGION β€” specify REGION as the web service region to use. this option will override the URL specified by the -U URL option and the EC2_URL environment variable. it defaults to the region specified by the EC2_URL environment variable, or us-east-1 if that environment variable isn't set.
  • -D, --auth-dry-run β€” check if you can perform the requested action instead of actually doing it. a lil' vibe check before you commit πŸ’…
  • -v, --verbose β€” verbose output. she talks more.
  • -?, --help β€” display this help.
  • -H, --headers β€” display column headers.
  • --debug β€” display additional debugging information.
  • --show-empty-fields β€” indicate empty fields.
  • --hide-tags β€” do not display tags for tagged resources.
  • --connection-timeout TIMEOUT β€” specify a connection timeout TIMEOUT (in seconds).
  • --request-timeout TIMEOUT β€” specify a request timeout TIMEOUT (in seconds).

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie 🫢 go forth and delete responsibly. this lil' icon comes to you from the EC2 API command line tools, version 1.6.14.1, api=2014-05-01 β€” mwah, periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from