DEV Community

Cover image for Fixing EKS overprivileged cluster settings
Nahum Litvin
Nahum Litvin

Posted on Originally published at linkedin.com on

Fixing EKS overprivileged cluster settings

Are you aware that your Amazon EKS cluster could be at risk due to a default permission setting? By default, the IAM role that creates an EKS cluster is granted the system:master RBAC role, providing broad administrative access. This could be a significant security concern.

In the past, rectifying this issue was a cumbersome process, often requiring the recreation of the entire cluster. But now, AWS has streamlined this with new cluster access management APIs. With a simple command:

aws eks delete-access-entry --cluster-name <CLUSTER_NAME> --principal-arn <IAM_PRINCIPAL_ARN>
Enter fullscreen mode Exit fullscreen mode

you can adjust these permissions efficiently without the need to recreate the cluster.

This development is a game-changer in EKS cluster security management, aligning with the principle of least privilege access. It's crucial for EKS users to be aware of these changes and implement them to ensure their clusters are secure.

For more detailed steps and insights on this topic, make sure to read the full AWS blog post here.

Top comments (0)