- AWS AccessKey & SecretKey available in your ./aws/credentials
. ./mfa-cli.sh
-
Enter MFA_ARN like:
arn:aws:iam::<account_id>:mfa/xxxx
-
Enter MFA_CODE like:
123456
-
Then use
aws sts get-caller-identity
&&aws configure list
for make sure it works