- Add
.gitconfig
setting to any CodeCommit repo for checking out with HTTPS credentials from the AWS CLI - Add the
aws_cli_mfa.sh
to your path and then invoke it in the example below
aws_cli_mfa.sh example-profile 123456
# Copy the output values and paste back into terminal to use credentials with MFA