AWS

Download 186
Last updated Feb 21, 2024

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

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
user_nameStringUser namee.g. logpresso
user_arnStringUser ARNarn:aws:iam::ACCOUNT:user/USER
user_idStringUser ID
user_pathStringUser pathe.g. /
password_used_atDatePassword used at
serialStringMFA seriale.g. arn:aws:iam::ACCOUNT:mfa/USER
enabled_atDateEnabled at