[Openstack] [OpenStack] [Swift] Can we use tempauth with version 2 or 3 of identity?

Alexandr Porunov alexandr.porunov at gmail.com
Mon Sep 19 12:46:35 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160919/e7887f3e/attachment.html>


More information about the Openstack mailing list