I am using tempauth for authentication. Here what I use:
curl -v -H 'X-Auth-User: admin:admin' -H 'X-Auth-Key: admin'

But I need to use v2 or v3 because I use a Java Client (jclouds) which can
use only v2 or v3 authentication. I tried:

curl -H "Content-Type: application/json" -X POST -d '{"auth" :
{"passwordCredentials" : {"username" : "admin","password" :
"admin"},"tenantName" : "admin"}}'

unfortunately it doesn't work.

Does somebody have any ideas?

Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to