mapUsers:

From wikieduonline
Revision as of 14:46, 21 December 2023 by Welcome (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 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: