aws-iam-users
Lists the AWS IAM users
aws-iam-users [profile=PROFILE]
- profile=PROFILE
- The identifier of AWS connect profile
AWS IAM Policy
To use this command, you must allow the below permissions in your AWS IAM policy:
- iam:ListUsers
- iam:ListMFADevices
- iam:ListAccessKeys
Output Fields
Field | Type | Name | Description |
---|---|---|---|
aws_profile | String | Connect profile | The identifier of AWS connect profile |
user_name | String | User name | |
user_id | String | User ID | |
user_arn | String | User ARN | arn:aws:iam::ACCOUNT:user/USER |
user_path | String | User path | e.g. / |
created_at | Date | Created at | |
mfa_devices | List | MFA devices | Elements with serial and enabled_at properties |
access_keys | List | Access keys | Elements with access_key_id, user_name, created_at, and status properties |