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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
  aws: error: the following arguments are required: [[--user-name]]
 
  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]]
 +
aws sts get-caller-identity | grep [[UserId]]
  
 +
== See also ==
 +
* {{aws iam}}
  
{{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: