aws iam list-user-policies

From wikieduonline
Jump to navigation Jump to search


aws: error: the following arguments are required: --user-name


aws iam list-user-policies --user-name "AROADFAFAEZ:your-text"

An error occurred (ValidationError) when calling the ListUserPolicies operation: The specified value for userName is invalid. It must contain only 
alphanumeric characters and/or the following: +=,.@_-


aws sts get-caller-identity
aws sts get-caller-identity | grep UserId

See also[edit]

Advertising: