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
Linuxguru