Difference between revisions of "Aws iam attach-user-policy"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
aws iam attach-user-policy --user-name my-read-only-user --policy-arn arn:aws:iam::aws:[[policy]]/[[AdministratorAccess]] | aws iam attach-user-policy --user-name my-read-only-user --policy-arn arn:aws:iam::aws:[[policy]]/[[AdministratorAccess]] | ||
+ | (no output) | ||
[[aws iam]] attach-user-policy --user-name [[ebs-csi-user]] --policy-arn [[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]] | [[aws iam]] attach-user-policy --user-name [[ebs-csi-user]] --policy-arn [[arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy]] | ||
− | + | (no output) | |
== Related commands == | == Related commands == |
Revision as of 06:54, 26 September 2022
aws iam attach-user-policy --user-name my-read-only-user --policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess (no output)
aws iam attach-user-policy --user-name my-read-only-user --policy-arn arn:aws:iam::aws:policy/AdministratorAccess (no output)
aws iam attach-user-policy --user-name ebs-csi-user --policy-arn arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy (no output)
Related commands
aws iam list-attached-user-policies
aws iam detach-user-policy
aws iam create-user
aws iam add-user-to-group
aws iam attach-role-policy
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: