Skip to content

A command line tool to authenticate with Okta for AWS credentials. (The project is not in development for now as I don't have access to okta and AWS at the moment..)

License

zhangyuan/aws-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-auth

aws-auth is a command line to get aws sts token and write it to ~/.aws/credentials via okta authentication.

Note: The development is in progress. Currently it only supports AWS China Ningxia (cn-northwest-1).

How to use it

  1. Download the binary from releases and make it executable with proper permission, or build the project and get the executable program aws-auth
cargo build --release
  1. Create the configuration file .aws-auth.toml, either in the same directory as aws-auth or in HOME directory. Example:
app-link = "https://yourcompanyname.okta.com/home/yourcompanyname_awschinamyapp_1/aaaaaaaaaaaaaa/bbbbbbbbbbbb"
  1. Run the command aws-auth, you'll be asked for username, password, mfa code, etc.

About

A command line tool to authenticate with Okta for AWS credentials. (The project is not in development for now as I don't have access to okta and AWS at the moment..)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages