AWS

Download 287
Last updated Feb 21, 2024

aws-ec2-key-pairs

Describes your AWS EC2 key pairs.

aws-ec2-key-pairs [profile=PROFILE] [region=REGION]
profile=PROFILE
The identifier of AWS connect profile
region=REGION
AWS region

AWS IAM Policy

To use this command, you must allow the below permissions in your AWS IAM policy:

  • ec2:DescribeKeyPairs

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
key_nameStringKey name
fingerprintStringFingerprint