Difference between revisions of "Aws iam list-user-policies"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
  
  [[aws sts]]
+
  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 iam}}
+
[[aws sts get-caller-identity]]
 +
aws sts get-caller-identity | grep [[UserId]]
 +
 
 +
== See also ==
 +
* {{aws iam}}
 +
 
 +
[[Category:AWS]]

Latest revision as of 11:37, 8 June 2023


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: