aws iam list-users
SafeAudit IAM users/keys
aws iam list-users
Lists users; pair with list-access-keys to hunt stale keys overdue for rotation.
Examples
aws iam list-access-keys --user-name deploy-botKeys for one user
Syntax
aws iam [list-users|list-access-keys --user-name u]
Before you run it
Read only.
Used when you see
Related commands
- aws iam get-userIAM user info
- aws sts get-caller-identityWho am I (AWS)
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store