AWS CLI with MFA To use mfa with CLI you can authenticate using MFA token. This script first authenticate using profile from default credentials file (/home/username/.aws/credentials) [my_aws_profile]