[ubuntu-cloud] AWS key options not working in EC2 API for Ubuntu 12.04?

Maria R. Davila davila at progress.com
Wed Sep 26 21:17:00 UTC 2012


Hi,

I have been using the API ec2-run-instances on Ubuntu 12.04 successfully using the options -K and -C with my private key and certificate successfully. EC2 api documentation found at http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-RunInstances.html indicates that these options are deprecated and we should migrate to -O  <aws-access-key> and -W <aws-secret-key>. If I try using those on Ubuntu 12.04 I keep getting the usage message for my commands. If I omit the arguments and set the variables AWS_ACCESS_KEY and AWS_ACCESS_KEY, instead, I get


Required option '-K, --private-key KEY' missing (-h for usage)

Are the non deprecated AWS keys supported in the Ubuntu ec2 api or should I keep using the private key and certificate?

Thanks,

Mari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20120926/2b79fc90/attachment.html>


More information about the Ubuntu-cloud mailing list