2 Answers
- Newest
- Most votes
- Most comments
1
The AWS CLI command is : aws iam list-users
Reference: https://docs.aws.amazon.com/cli/latest/reference/iam/list-users.html
answered a year ago
0
Another issue may need to think of is the IAM policy. Make sure your IAM role has sufficient previledge to list all users. One simple test is to grand administrator previledge to your current IAM role to see your proof of concept. If it does succeed, it means your IAM role should have higher level of previledge. If it does not, start to think of other possibiliities. Your error messeage may provide more insight to your issue. I am not seeing your error message here.
answered 8 months ago
Relevant content
- asked 4 years ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago