Command Line tool for managing AWS MFA credentials.
Install with
python3 -m pip install aws-mfa-cli
Setup MFA device
aws-mfa device set <mfa-device-arn>
Enable Profile to use MFA
aws-mfa profile enable <profile-name>
Authenticate with MFA token
aws-mfa token <mfa-token>
Test it works
aws s3 ls --profile <profile-name>