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
function devmfa() { | |
################################################################################################## | |
# TODO: fill out these 2 variables | |
################################################################################################## | |
# This is the profile with access keys associated with your AWS user account. | |
# These keys are useless when MFA is enabled or required for the CLI. | |
# However, we can use these keys to call "aws sts get-session-token" along with the MFA code | |
# to get a set of temporary credentials and store then in AWS env variables for the CLI to consume. | |
# i.e. this profile should be existing in `.aws/credentials` |