This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Do multi-factor authentication for an aws CLI profile. | |
set -euo pipefail | |
shopt -s inherit_errexit | |
function print_help() { | |
echo "Do multi-factor authentication for an aws CLI profile." | |
echo "" | |
echo "Usage:" |