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

Comments

Popular posts from this blog

Another instance of Certbot is already running - Solved - Linux guru

Install Apache Using Ansible Playbooks

Setup password less SSH on linux

Create aws s3 bucket using cli

Secure nginx with Let's Encrypt on Ubuntu 18.04