DEV Community

Chirag Modi
Chirag Modi

Posted on

3 2

Kubernetes Authentication in AWS EKS Using IAM Authenticator

How Kubernetes integrates with AWS IAM authenticator

EKS Authentication. Image from AWS

There is a different way of authentication to Kubernetes based on different cloud provider implementations. I will specifically discuss authentication implemented by AWS EKS. This article should clarify the following questions.

  • How authentication works in EKS?
  • What is AWS IAM Authenticator for Kubernetes?
  • What does “aws eks get-token” do in KubeConfig to access EKS cluster?
  • What is “aws-auth” Configmap in EKS?
  • How can I add AWS users/roles to access EKS cluster?
  • How do AWS users/roles map to Kubernetes users and groups in EKS?
  • How do I generate KubeConfig for EKS cluster?
  • How do users get authorized to perform specific Kubernetes actions?

Take a look at this article to find detailed explanation with hands-on use case - https://betterprogramming.pub/kubernetes-authentication-in-aws-eks-using-iam-authenticator-de3a586e885c?source=friends_link&sk=fce36cdc7bbc7de2c9a39f73f013922b

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay