Ask Your Question

Get full keystone token from horizon

asked 2013-09-26 09:14:51 -0500

alvaizq gravatar image

updated 2013-09-26 17:35:36 -0500

smaffulli gravatar image


I'm custimizing horizon panels and i need the user name and the password or the token generated by keystone. In the request field, i can find the user name and and token JSON structure, but the token id from the structure is with its shortened form (the hash key to memcached).

How can i get the password or the "true" token? Is there any method?

Thank you so much and best regards, Álvaro

edit retag flag offensive close merge delete


hi, how do you get the user name and token JSON structure?
i also stuck in the same problem.
thanks a lot!

junneyang gravatar imagejunneyang ( 2016-05-11 06:47:41 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-05-03 06:51:20 -0500

CloudIsMyLife gravatar image

updated 2016-05-03 06:52:27 -0500

Write an API fired to the python-keystoneclient passing the initial credentials which u use to login to the dashboard.The URL Endpoint for the keystone should be correct and maybe my solution for writing an API will work.

curl -i '' -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth":{"tenantId":"XXXXXXXXXXX","passwordCredentials":{"userId":"XXXXXXX","password":"XXXXXXXX"}}}'

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-09-26 09:14:51 -0500

Seen: 403 times

Last updated: May 03 '16