Skip to content

Instantly share code, notes, and snippets.

@bvanderlugt
Last active February 23, 2018 21:03
Show Gist options
  • Save bvanderlugt/cd7a50ba5b30bbf8fcd3cfa1cf226c9a to your computer and use it in GitHub Desktop.
Save bvanderlugt/cd7a50ba5b30bbf8fcd3cfa1cf226c9a to your computer and use it in GitHub Desktop.
convert AWS cli profile vars to env vars
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