Posted On: May 14, 2019

The Amazon Elastic Container Service for Kubernetes (EKS) command line interface (CLI) now includes a sub-command for generating the authentication token required for connecting to their Kubernetes cluster using the command line.

Previously, setting up an Amazon EKS cluster required you to download and configure the binary for the AWS IAM Authenticator in order to authenticate using IAM to your EKS cluster.

Now, the Amazon EKS CLI includes the subcommand eks get-token that generates the required token to authenticate to the EKS cluster. You can use update-kubeconfig to generate a kube config that will now use the get-token command, instead of the aws-iam-authenticator binary. This simplifies setting up and connecting to your Amazon EKS cluster.

To get started with Amazon EKS, visit the Amazon EKS documentation.

Please visit the AWS region table to see all AWS regions where Amazon EKS is available.