/aws-mfa-cli

Tiny Go program to set up a temporary AWS profile for MFA + CLI access

Primary LanguageGoMIT LicenseMIT

aws-mfa-cli

Tiny Go program to set up a temporary AWS profile for MFA + CLI access

Usage GIF

Installation

go get

$ go get -u github.com/Preetam/aws-mfa-cli

Binary

Binaries are available on the Releases page.

Usage

$ aws-mfa-cli -h
Usage of aws-mfa-cli:
  -profile string
    	Profile name (default "default")
  -profile-mfa string
    	Temporary MFA profile name (default "profile-mfa")
  -region string
    	AWS Region (default "us-east-1")
  -token string
    	MFA token

License

MIT