Difference between revisions of "MapRoles:"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
{{K8s}}
+
 
 +
 
 +
aws_auth_extra_roles = <<-[[EOF]]
 +
[[mapUsers:]] |
 +
  - userarn: arn:aws:iam::XXXXXXXXXXXX:user/your-aws-user
 +
    username: your-k8s-new-user-with-master-privileges
 +
    groups:
 +
      - [[system:masters]]
 +
  EOF
 +
 
 +
== See also ==
 +
* {{K8s}}
 +
 
 +
[[Category:K8s]]

Revision as of 09:35, 2 September 2022

mapUsers: |
 - userarn: arn:aws:iam::XXXXXXXXXXXX:user/your-aws-user
   username: your-k8s-new-user-with-master-privileges
   groups:
     - system:masters

mapRoles: |
 - rolearn: arn:aws:iam::XXXXXXXXXXXX:role/your-aws-role
   username: your-new-k8s-user-with-master
   groups:
     - system:masters



aws_auth_extra_roles = <<-EOF
mapUsers: |
 - userarn: arn:aws:iam::XXXXXXXXXXXX:user/your-aws-user
   username: your-k8s-new-user-with-master-privileges
   groups:
     - system:masters
 EOF

See also

Advertising: