Linux, DevOps and Cloud Expert at Linux Guru !

Image source

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
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

No comments:

Post a Comment