Difference between revisions of "Aws iam get-user"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://docs.aws.amazon.com/ko_kr/cli/latest/reference/iam/get-user.html
 
* https://docs.aws.amazon.com/ko_kr/cli/latest/reference/iam/get-user.html
  
 +
== Example ==
 
  <code>[[aws iam]] get-user</code>
 
  <code>[[aws iam]] get-user</code>
 
  <code>USER    arn:aws:iam::564057768356:user/my_user        2021-08-05T11:26:03Z    /      XXXXZCTGOUQV8KFNQ5Q3T  [[read-only]]</code>
 
  <code>USER    arn:aws:iam::564057768356:user/my_user        2021-08-05T11:26:03Z    /      XXXXZCTGOUQV8KFNQ5Q3T  [[read-only]]</code>

Revision as of 11:18, 1 April 2022

Example

aws iam get-user
USER    arn:aws:iam::564057768356:user/my_user        2021-08-05T11:26:03Z    /       XXXXZCTGOUQV8KFNQ5Q3T   read-only

Errors

An error occurred (SignatureDoesNotMatch) when calling the GetUser operation: Signature expired: 20210825T040407Z is now earlier than 20210825T075941Z (20210825T081441Z - 15 min.)
aws iam get-user
An error occurred (ExpiredToken) when calling the GetUser operation: The security token included in the request is expired
An error occurred (AccessDenied) when calling the GetUser operation: User: arn:aws:sts::0123456789:assumed- role/ROLE_NAME/YOURusername is not authorized to perform: iam:GetUser on resource:  user YOURusername

Related terms

See also

Advertising: