[Openstack] API Key Generation

Julian Learmonth julian.learmonth at mobius.co.uk
Mon Feb 18 14:34:33 UTC 2013


Hello,

I've very new to OpenStack (3 days) so this could be a simple issue. I'm
trying to generate an API key for Veeam Backup Cloud Edition to use a demo
instance of DevStack. I'm using the following command line on the machine
with DevStack installed:

curl -d '{"passwordCredentials": {"username": "admin", "password":
"redacted"}}' -H "Content-type: application/json"
http://localhost:5000/v2.0/tokens

I got the above command line from here:
http://docs.openstack.org/api/openstack-compute/programmer/content/getting-the-authentication-token.html

And I am getting this error message when I run the command (using the
correct password):

{"error": {"message": "authenticate() got an unexpected keyword argument
'passwordCredentials'", "code": 400, "title": "Bad Request"}}

Any idea what I am doing wrong? Is there another way to generate an API key?

I am using OpenStack Folsom (DevStack) on Ubuntu 12.10.

Any help appreciated!

Regards,
Julian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130218/fb82cd6a/attachment.html>


More information about the Openstack mailing list