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

John Dickinson me at not.mn
Mon Sep 19 14:19:50 UTC 2016


Tempauth is really only for internal use and removing dependencies when testing. It does not support v2 or v3 auth APIs. I'd suggest using keystone instead.

--John


> On Sep 19, 2016, at 8:46 AM, Alexandr Porunov <alexandr.porunov at gmail.com> wrote:
> 
> 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 at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160919/3e15bc6a/attachment.html>


More information about the Openstack mailing list