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

From wikieduonline
Jump to navigation Jump to search
(Created page with " * <code>aws iam attach-user-policy --user-name my-read-only-user --policy-arn XXXX</code> == See also == * {{aws iam}} Category:AWS")
 
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{lowercase}}
  
 +
[[aws iam]] attach-user-policy --user-name my-read-only-user --policy-[[arn]] arn:aws:iam::aws:[[policy]]/[[ReadOnlyAccess]]
 +
(no output)
  
* <code>[[aws iam attach-user-policy]] --user-name my-read-only-user --policy-[[arn]] XXXX</code>
+
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 ==
 +
* <code>[[aws iam list-attached-user-policies]]</code>
 +
* <code>[[aws iam detach-user-policy]]</code>
 +
* <code>[[aws iam create-user]]</code>
 +
* <code>[[aws iam add-user-to-group]]</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: