[cs615asa] Can we use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY ?

Jan Schaumann jschauma at stevens.edu
Thu Mar 13 18:39:54 EDT 2014


Hongyi Shen <hshen4 at stevens.edu> wrote:
> The assignment requirement mentioned variables like "AWS_CONFIG_FILE,
> EC2_CERT, EC2_HOME, EC2_PRIVATE_KEY".
> 
> Can we use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as well?

| ec2-backup assumes that the user has set up their environment for general
| use with the EC2 tools.  That is, it will not set or modify the variables
| AWS_CONFIG_FILE, EC2_CERT, EC2_HOME or EC2_PRIVATE_KEY.

The same holds for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

That is, you must not set or manipulate these variables.

You can assume that when the user runs, for example, the command

aws ec2 run-instances --image-id am1-a1b2c3d4

then that will succeed.

-Jan



More information about the cs615asa mailing list