AWS

Download 186
Last updated Feb 21, 2024

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

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
user_nameStringUser name
user_idStringUser ID
user_arnStringUser ARNarn:aws:iam::ACCOUNT:user/USER
user_pathStringUser pathe.g. /
created_atDateCreated at
mfa_devicesListMFA devicesElements with serial and enabled_at properties
access_keysListAccess keysElements with access_key_id, user_name, created_at, and status properties