Hello,

I am using tempauth for authentication. Here what I use:
curl -v -H 'X-Auth-User: admin:admin' -H 'X-Auth-Key: admin'
http://192.168.0.58:8080/auth/v1.0/

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"}}' http://192.168.0.58:8080/auth/v2.0/

unfortunately it doesn't work.

Does somebody have any ideas?

Sincerely,
Alexandr
_______________________________________________
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