No commit activity in last 3 years
No release in over 3 years
AWS IAM Authenticator distributed as a Rubygem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

aws-iam-authenticator-rb

The AWS IAM Authenticator distributed as a Rubygem.

Intro

The AWS IAM Authenticator is "a tool to use AWS IAM credentials to authenticate to a Kubernetes cluster." It's generally used by kubectl (the Kubernetes CLI) to communicate with an Amazon EKS cluster.

It's wrapped up as a Rubygem here to make it easy to distribute with Ruby apps, and was originally created for the Kuby project.

Usage

There is only one method that returns the absolute path to the aws-iam-authenticator executable:

require 'aws-iam-authenticator-rb'

# /Users/me/.rbenv/versions/2.5.6/lib/ruby/gems/2.5.0/gems/aws-iam-authenticator-rb-0.1.0-x86_64-darwin/vendor/aws-iam-authenticator
AwsIamAuthenticatorRb.executable

The version of the authenticator can be obtained like so:

require 'aws-iam-authenticator-rb/version'

# "0.5.0"
AwsIamAuthenticatorRb::AWS_IAM_AUTHENTICATOR_VERSION

License

AWS IAM Authenticator is licensed under the Apache 2 license. The LICENSE file contains a copy.

Authors