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
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
region | String | Region | e.g. ap-northeast-2 |
key_name | String | Key name | |
fingerprint | String | Fingerprint |