AWS CLI 2 · Output and queries
Filter results with JMESPath
Select only the fields you need.
aws iam list-users --query "Users[].UserName"
Official AWS CLI 2 documentation
AWS CLI 2 · Output and queries
Select only the fields you need.
aws iam list-users --query "Users[].UserName"
Official AWS CLI 2 documentation
Was this page helpful?