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?

asked a year ago210 views
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 a year ago
profile picture
EXPERT
reviewed 4 months 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.

profile picture
answered 8 months 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.

Guidelines for Answering Questions