Show EC2 key pairs in the account.
Section: AMIs and Key Pairs
List key pairs
bash
bash
aws ec2 describe-key-pairsExplanation
Useful when verifying SSH key names before launch.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing AMIs and Key Pairs