Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

AWS Tutorials: How to manually grant your Federated IAM User access to kubectl in AWS EKS?

Thanks for pointing that out! The AWS EKS authentication method has changed in 2026, and the aws-auth ConfigMap is no longer used for adding IAM roles. Instead, IAM Access entries are managed under the Access tab in the AWS Console.

Here are the updated steps to manually grant your Federated IAM User access to kubectl in AWS EKS.


โœ… Step 1: Identify Your Federated IAM Role

  1. Go to AWS Console โ†’ IAM โ†’ Roles
  2. Find the IAM Role associated with your Federated User (SSO/Federated Access).
  3. Copy the Role ARN, which looks like: arn:aws:iam::329599659644:role/<Federated-Role-Name>

โœ… Step 2: Add the Federated IAM Role in EKS “Access” Tab

  1. Go to AWS Console โ†’ EKS โ†’ Your Cluster (evp-dev-eks)
  2. Click the Access tab.
  3. Click “Add IAM access entry”.
  4. Select IAM Role.
  5. Paste your Federated Role ARN (arn:aws:iam::329599659644:role/<Federated-Role-Name>).
  6. Assign a Cluster Role:
    • Choose Administrator Access (Full kubectl permissions) โ†’ system:masters
    • Alternatively, choose Read-Only Access (View-Only role).
  7. Click “Save Changes”.

โœ… Step 3: Attach Required IAM Policies to the Federated Role

Your Federated IAM Role must have the following policies:

Attach Policies to Your Role

  1. Go to AWS Console โ†’ IAM โ†’ Roles โ†’ <Federated-Role-Name>
  2. Click Permissions โ†’ Attach Policies
  3. Add the following policies:
    • โœ… AmazonEKSClusterPolicy
    • โœ… AmazonEKSWorkerNodePolicy
    • โœ… AmazonEKSServicePolicy
    • โœ… eks:AccessKubernetesApi
  4. Click Attach Policy.

โœ… Step 4: Update kubeconfig for Federated User

Once IAM access is set, update your local kubeconfig to reflect the changes:

aws eks update-kubeconfig --name evp-dev-eks --region ap-northeast-1 --role-arn arn:aws:iam::329599659644:role/<Federated-Role-Name>
Code language: HTML, XML (xml)

Then test access:

kubectl get nodes
Code language: JavaScript (javascript)

โœ… Step 5: Verify Access

If kubectl get nodes still fails, check:

kubectl auth can-i list nodes --all-namespaces --verbose
Code language: PHP (php)
  • If “yes”, you have access.
  • If “no”, IAM role or permissions need adjustment.

๐ŸŽฏ Summary of AWS 2026 EKS Changes

โœ… The aws-auth ConfigMap is no longer used.
โœ… IAM roles/users are now added via EKS “Access” Tab.
โœ… Federated users need IAM role-based access via IAM access entries.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Top 10 Presentation Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, creating engaging and impactful presentations is more than just slides with bullet pointsโ€”itโ€™s about telling a story, conveying ideas visually, and keeping your audience…

Read More

Should A Student Use ChatGPT To Learn DevOps Instead Of Courses?

As a student looking to learn DevOps, you might be wondering if ChatGPT is a good alternative to traditional courses. While there are some benefits to using…

Read More

Top 10 Digital Signature Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, digital transformation has reshaped the way businesses manage documents, sign agreements, and engage with clients. Digital signatures have become an essential component of this…

Read More

Top 10 Graphics Design Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, graphics design tools are more essential than ever for businesses, content creators, designers, and marketers across industries. From creating brand identities and advertising materials…

Read More

How to Optimize Your headless CMS for Multilingual Websites

A multilingual site enables a company to internationalize itself to different audiences for better engagement and ultimately, international brand awareness. However, without the proper considerations with the…

Read More

Top 10 AI SEO Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI SEO tools have become indispensable for digital marketers, businesses, and content creators aiming to dominate search engine rankings. These tools leverage artificial intelligence…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x