aws-iam-mfa-devices
Lists the virtual MFA devices defined in the AWS account.
aws-iam-mfa-devices [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:ListVirtualMFADevices
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| aws_profile | String | Connect profile | The identifier of AWS connect profile |
| user_name | String | User name | e.g. logpresso |
| user_arn | String | User ARN | arn:aws:iam::ACCOUNT:user/USER |
| user_id | String | User ID | |
| user_path | String | User path | e.g. / |
| password_used_at | Date | Password used at | |
| serial | String | MFA serial | e.g. arn:aws:iam::ACCOUNT:mfa/USER |
| enabled_at | Date | Enabled at |