Erroneously prompted for username and password when using aws-heptio-authenticator for EKS on Windows

6/8/2018

I have an EKS cluster set up.

My setup:

  • kubeconfig file
  • AWS IAM credentials saved as [default] in ~/.aws/credentials
  • a user binding on the cluster which provides the user with system:master

When I use aws-heptio-authenticator to authenticate to the cluster with an IAM user via my Mac (High Sierra), it works as expected. I am able to authenticate against the cluster automatically when using kubectl commands.

When I use the same kubeconfig file and same user from a Windows laptop, with the AWS credentials stored in ~/.aws/credentials as the default, I am prompted for a username, and then a password. Neither of these seem to be used, and the prompted is repeated over an over again.

Has anyone run into this, or resolved this issue?

-- Mr.Budris
amazon-web-services
kubernetes

0 Answers