Difference between revisions of "Aws iam attach-user-policy"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | * <code>[[aws iam attach-user-policy]] --user-name my-read-only-user --policy-[[arn]] arn:aws:iam::aws:policy/[[ReadOnlyAccess]]</code> | + | * <code>[[aws iam attach-user-policy]] --user-name my-read-only-user --policy-[[arn]] arn:aws:iam::aws:[[policy]]/[[ReadOnlyAccess]]</code> |
Revision as of 12:38, 8 August 2021
aws iam attach-user-policy --user-name my-read-only-user --policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess
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
Advertising: