1 Answer
- Newest
- Most votes
- Most comments
0
When using EKS Auto Mode, the IAM Role for Load Balancer creation is the Cluster IAM role. This can be viewed in the AWS console on the Overview tab. Or from the AWS CLI command:
aws eks describe-cluster --name <your-cluster-name> --query "cluster.roleArn" --region <your-region>
The Cluster IAM role appears to be of the form: <cluster name>-cluster-<timestamp>
That IAM role is not a service-linked role, and you can add whatever policies you like to it.
The nice thing about EKS Auto Mode is that it saves you the work of having to setup an IAM Role, IAM Policy, ServiceAccount, or running Helm. I illustrate of all that here
answered 2 years ago
Relevant content
asked 2 years ago

Thank you for your reply! I have indeed got the cluster role setup - the issue here is by default the service role that AWS uses to access the cluster does not have permission to view any secrets. The role uses a session-based username when connecting to the cluster so currently we are unable to give it any additional permissions.
I created an issue on the container roadmap, and the role is going to be adjusted to use a fixed username when interacting with the cluster so it's access can be increased where it's needed. Once rolled out, we should be able to add a cluster role binding to the user
arn:aws:sts::<account>:assumed-role/AWSServiceRoleForAmazonEKS/*within the cluster to allow secrets access.(Just to add - your article is very descriptive and useful!)