Skip to content

How do I successfully complete the aws list-users command promt?

0

I am doing a training for AWS, and I am at the part where I begin to use the command prompt. When I enter the command aws list-users, I get an error message and then a really long list of names of services and help commands.

Can someone help me?

2 Answers
1

The AWS CLI command is : aws iam list-users

Reference: https://docs.aws.amazon.com/cli/latest/reference/iam/list-users.html

AWS
answered 3 years ago
EXPERT
reviewed 2 years 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 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.