[openstack-dev] keystone token question

Bhandaru, Malini K malini.k.bhandaru at intel.com
Wed Feb 27 01:15:58 UTC 2013


Thanks Dolph!

Need a small change .. auth --> authentication
curl -d '{"authentication":{"methods":["password"], "password":{"user": {"name":"<foouser>", "password": "secret", "domain":{"id":"default"}}}}}' -H "Content-type: application/json" http://localhost:35357/v3/auth/tokens

From: Dolph Mathews [mailto:dolph.mathews at gmail.com]
Sent: Tuesday, February 26, 2013 4:55 PM
To: OpenStack Development Mailing List
Subject: Re: [openstack-dev] keystone token question

Try this:
curl -d '{"auth":{"identity":{"methods": ["password"],  "password":{"user": {"name": "<foouser>", "password": "secret", "domain": {"id": "default"}}}}}' -H "Content-type:
application/json" http://localhost:35357/v3/auth/tokens<http://localhost:35357/v2.0/tokens>

On Tuesday, February 26, 2013, Bhandaru, Malini K wrote:
Might there be a v3 version of a curl call for token as below:
curl -d '{"auth":{"passwordCredentials":{"username": "<foouser>", "password": "secret"}}}' -H "Content-type:
application/json" http://localhost:35357/v2.0/tokens

Thanks
malini


--

-Dolph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130227/c03c62d3/attachment.html>


More information about the OpenStack-dev mailing list