<div dir="ltr"><div><div>Hello,<br><br></div>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:<br>

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

<br></div>I got the above command line from here: <a href="http://docs.openstack.org/api/openstack-compute/programmer/content/getting-the-authentication-token.html">http://docs.openstack.org/api/openstack-compute/programmer/content/getting-the-authentication-token.html</a><br>

<div><br clear="all"><div><div><div>And I am getting this error message when I run the command (using the correct password):<br><br>{"error": {"message": "authenticate() got an unexpected keyword argument 'passwordCredentials'", "code": 400, "title": "Bad Request"}}<br>

<br></div><div>Any idea what I am doing wrong? Is there another way to generate an API key?<br></div><div><br>I am using OpenStack Folsom (DevStack) on Ubuntu 12.10.<br><br></div><div>Any help appreciated!<br></div><div>
<br>
Regards,<br>Julian.<br></div>
</div></div></div></div>