EC2-DESCRIBE-KEYPAIRS(1)

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

πŸ‘‘ EC2-DESCRIBE-KEYPAIRS πŸ’…

okay bestie, welcome to ec2-describe-keypairs(1) β€” it lives in the User Commands section of the manual, and it's literally just here to help you list your keypairs. that's it. that's the whole job. and she does it flawlessly.


✨ NAME ✨

ec2-describe-keypairs β€” list keypairs πŸŽ€


🌸 SYNOPSIS 🌸

ec2dkey ([ec2-describe-keypairs])
ec2dkey [GENERAL OPTIONS] [KEY [KEY [...]]]

πŸ¦‹ GENERAL NOTES πŸ¦‹

so here's a lil universal cheat code: any command option or parameter can be handed a value of -, and that means "bestie, read the values for this one from stdin instead." 🫢


πŸ’– DESCRIPTION πŸ’–

list and describe the keypairs you've created β€” or the ones you've got access to, we don't gatekeep.

the KEY parameter is where you name the key(s) you want described. don't specify any? then all the keypairs visible to you come back. the whole collection. no cap. ✨


πŸ’… GENERAL OPTIONS πŸ’…

  • -O, --aws-access-key KEY β€” your AWS Access Key ID. defaults to whatever AWS_ACCESS_KEY is set to in your environment (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 β€” your 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), and this 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), and this overrides the default.
  • -U, --url URL β€” specify URL as the web service URL to use. defaults to 'https://ec2.amazonaws.com' (that's us-east-1, the main character) or to whatever EC2_URL is set to (if set). this 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 β€” checks if you could perform the requested action instead of actually doing it. a vibe check, basically. πŸ”₯
  • -v, --verbose β€” verbose output. she tells you everything.
  • -?, --help β€” display this help. hi, you're here. πŸ₯°
  • -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).

πŸŽ€ SPECIFIC OPTIONS πŸŽ€

  • -F, --filter FILTER β€” add a filter criterion for the result-set. narrow it down, diva. πŸ”

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! this icon of a doc came to you from the EC2 API command line tools, version 1.6.14.1, with api=2014-05-01 β€” periodt. go describe some keypairs. you're gonna eat. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from