Difference between revisions of "MapUsers:"

From wikieduonline
Jump to navigation Jump to search
 
Line 30: Line 30:
  
 
== See also ==
 
== See also ==
 +
* {{aws-auth maps}}
 
* {{aws-auth}}
 
* {{aws-auth}}
 
* {{K8s RBAC}}
 
* {{K8s RBAC}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 14:46, 21 December 2023

 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

Examples[edit]

Multiple user example

 mapUsers: |
   - userarn: arn:aws:iam::555555555555:user/your-user-1
     username: your-user-1
     groups:
       - system:masters
   - userarn: arn:aws:iam::555555555555:user/your-user-2
     username: your-user-2
     groups:
       - system:masters


https://stackoverflow.com/questions/76016679/read-only-access-to-all-kubernetes-objects-in-an-eks-cluster

 mapUsers: |
   - userarn: arn:aws:iam::123456789:user/read-only-access-eks
     username: read-only-access-eks
     groups:
       - view

Related[edit]

See also[edit]

Advertising: