amazon web services - Private Key Error in AWS EC2 Tools -


i'm getting following error when run describe region command. i'm in ubuntu 12.04

$ ec2-describe-regions required option '-k, --private-key key' missing. 

i have setup following lines

$ export ec2_home=<path-to-tools> $ export path=$path:$ec2_home/bin  $ export aws_access_key=your-aws-access-key  $ export aws_secret_key=your-aws-secret-key 

can please me?

the option -k, --private-key key 1 of deprecated options, see common options cli tools:

for limited time, can still use private key , x.509 certificate instead of access key id , secret access key. however, recommend start using access key id (-o, --aws-access-key) , secret access key (-w, --aws-secret-key) now, private key (-k, --private-key) , x.509 certificate (-c, --cert) won't supported after transition period elapses. more information, see tell tools are.

i highly recommend follow advise , use your access key id (-o, --aws-access-key) , secret access key (-w, --aws-secret-key) going forward - after all, have them available ;)

accordingly, might able use -o , -w explicitly, error indicates using outdated version of amazon ec2 api tools , might need update in order them automatically pick environment variables aws_access_key , aws_secret_key explained , advertized in tell cli tools are.


alternative

aws establishing aws command line interface a unified tool manage aws services, presumably going replace various command line tools per service still available on tools amazon web services hub. while still classified developer preview, works quite , makes entire aws usage more streamlined , versatile, , more discoverable, because supporting command completion example.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -