MFA AWS Authenticate is a utility to facilitate using MFA in a terminal using
aws-cli
- You got to have go installed
- You got to have aws-cli (v1 or v2 should be fine).
- You need to have
iam:ListMFADevices
permission on aws.
- Download this repository and run
go build -o build/mfa-aws github.com/niltonfrederico/mfa-aws-authenticate
mv build/mfa-aws /usr/bin/mfa-aws
To use mfa-aws
simply run:
mfa-aws auth --code {your_mfa_code}
For now just forkit and open your pull request!
This project is under license. See the file LICENSE for more details.