Difference between revisions of "Aws iam list-user-policies"
Jump to navigation
Jump to search
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: +=,.@_- | ||
Revision as of 11:36, 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
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
Advertising: