Difference between revisions of "Aws iam get-user"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
[[aws iam]] get-user | [[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 ([[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 == | == Related terms == |
Revision as of 11:17, 1 April 2022
aws iam get-user
USER arn:aws:iam::564057768356:user/my_user 2021-08-05T11:26:03Z / XXXXZCTGOUQV8KFNQ5Q3T read-only
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
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: