5 ms·
My searches on this are coming up empty. Do have more info or perhaps a link that further explains this issue?
by gizdan 5y ago
My searches on this are coming up empty. Do have more info or perhaps a link that further explains this issue?
- arianvanp 5y agohttps://aws.github.io/aws-eks-best-practices/security/docs/iam/#use-iam-roles-when-multiple-users-need-identical-access-to-the-cluster https://aws.github.io/aws-eks-best-practices/security/docs/i...
- Jenk 5y agoTo save a click/scroll/combination-there-of: https://aws.github.io/aws-eks-best-practices/security/docs/iam/#create-the-cluster-with-a-dedicated-iam-role https://aws.github.io/aws-eks-best-practices/security/docs/i... > When you create an Amazon EKS cluster, the IAM entity user or role, such as a federated user that creates the cluster, is automatically granted system:masters permissions in the cluster's RBAC configuration. This access cannot be removed and is not managed through the aws-auth ConfigMap. Therefore it is a good idea to create the cluster with a dedicated IAM role and regularly audit who can assume this role. This role should not be used to perform routine actions on the cluster, and instead additional users should be granted access to the cluster through the aws-auth ConfigMap for this purpose. After the aws-auth ConfigMap is configured, the role can be deleted and only recreated in an emergency / break glass scenario where the aws-auth ConfigMap is corrupted and the cluster is otherwise inaccessible. This can be particularly useful in production clusters which do not usually have direct user access configured. Emphasis mine.
- gizdan 5y agoThank you!