Created
April 18, 2011 04:00
-
-
Save cosmin/924788 to your computer and use it in GitHub Desktop.
Script to setup AWS credentials for various command line tools
This file contains hidden or 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
AWSAccessKeyId=YOUR_AWS_ACCESS_KEY | |
AWSSecretKey=YOUR_AWS_SECRET_KEY |
This file contains hidden or 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
# put this file in ~/.ec2/setup-credentials.sh and use it with | |
# source ~/.ec2/setup-credentials.sh from your .bashrc or similar | |
export EC2_PRIVATE_KEY="$HOME/.ec2/ec2-pk.pem" | |
export EC2_CERT="$HOME/.ec2/ec2-cert.pem" | |
export AWS_CREDENTIAL_FILE="$HOME/.ec2/aws.credentials" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment