Difference between revisions of "Aws iam attach-user-policy"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
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]]
 +
(no output)
  
 
== Related commands ==
 
== Related commands ==
Line 13: 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

Advertising: