Tiny Go program to set up a temporary AWS profile for MFA + CLI access
$ go get -u github.com/Preetam/aws-mfa-cli
Binaries are available on the Releases page.
$ 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
MIT