Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Last active September 1, 2016 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linusthe3rd/da16e62ad228cffd42cd97dc721528e8 to your computer and use it in GitHub Desktop.
Save linusthe3rd/da16e62ad228cffd42cd97dc721528e8 to your computer and use it in GitHub Desktop.
Export AWS Credentials into Environment Vars
# If you use multiple AWS environments, change this to your profile name to export a different set of credentials
export AWS_PROFILE=default
export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment