Skip to content

Instantly share code, notes, and snippets.

@cpdean
Created August 5, 2015 20:30
Show Gist options
  • Save cpdean/6e6b63a879e97c98d245 to your computer and use it in GitHub Desktop.
Save cpdean/6e6b63a879e97c98d245 to your computer and use it in GitHub Desktop.
source aws creds from the cred file
export AWS_CREDENTIAL_FILE=/Users/deanc/.aws_credential_file
export AWS_SECRET_ACCESS_KEY=$(cat $AWS_CREDENTIAL_FILE | grep -i secret | cut -d "=" -f 2)
export AWS_ACCESS_KEY_ID=$(cat $AWS_CREDENTIAL_FILE | grep -i access | cut -d "=" -f 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment