Difference between revisions of "Aws iam attach-user-policy"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
* <code>[[aws iam add-user-to-group]]</code> | * <code>[[aws iam add-user-to-group]]</code> | ||
* <code>[[aws iam attach-role-policy]]</code> | * <code>[[aws iam attach-role-policy]]</code> | ||
+ | * [[Terraform resouce: aws iam user policy attachment]] | ||
== See also == | == See also == |
Latest revision as of 12:59, 2 February 2023
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[edit]
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
- Terraform resouce: aws iam user policy attachment
See also[edit]
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: