Difference between revisions of "MapRoles:"

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

Revision as of 14:47, 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


inputs = {

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
}

Related

See also

Advertising: