Last active
February 23, 2018 21:03
-
-
Save bvanderlugt/cd7a50ba5b30bbf8fcd3cfa1cf226c9a to your computer and use it in GitHub Desktop.
convert AWS cli profile vars to env vars
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
export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) | |
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) | |
export AWS_DEFAULT_REGION=$(aws configure get region) | |
// https://docs.aws.amazon.com/cli/latest/reference/configure/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment