← Back to team overview

openstack team mailing list archive

API Key Generation

 

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.

Follow ups