Install aws-iam-authenticator linux - Linux Guru

Image source aws.amazon.com

How to install IAM authenticator in Linux.

Amazon IAM authenticator provides authentication to the kubernetes cluster. after authenticate with IAM authenticator you can deploy your app on EKS.
  • Download IAM authenticator binary from amazon s3.
curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator
Now, You can find the binary of IAM authenticator.
  • Give the executable permission to the IAM authenticator Binary.
chmod +x ./aws-iam-authenticator
  • Copy the binary to $HOME/bin/aws-iam-authenticator.
mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$HOME/bin:$PATH
  • Add $HOME/bin to your PATH environment variable.
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
  • Now your can use IAM authenticator.
aws-iam-authenticator help

Linux Guru

Welcome to my Linux blog! Hello Friends, I am Vishal Vyas. I am a DevOps engineer and expert in Linux and Cloud Computing. Also I am a Certified Kubernetes Administrator, I have a total 12 plus years of experience in the IT field and I have worked in various technologies. I write about Linux, AWS, DevOps and web Technologies, I have started this blog to share my technical knowledge with all, I am posting here what I learn from the latest web technologies and the likes.

Post a Comment

Previous Post Next Post