Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The "X-Storage-User" and "X-Storage-Pass" headers are applicable when you're using swauth or tempauth for authentication. It appears you're using Keystone. A request to authenticate to Keystone should look something like this,

curl -d '{ "auth":{ "passwordCredentials":{ "username":"admin", "password":"cloud" }, "tenantName":"admin" }}' -H "Content-type: application/json" http://192.168.224.248:35357/v2.0/tokens