Unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found

Unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found

Setting up Kubernetes on AWS and got the unable to connect to the server: getting credentials: exec: executable aws-iam-authenticator not found error? Execute the following to solve your problem! Not going to bore you with fluff this time around.

brew install aws-iam-authenticator

I am assuming that you have homebrew installed which might be a leap. Also I’m on a Mac. Happy programming! Hope this helps.

Check out this article if you’re looking for an AWS replacement.

Leave a Comment