Ask Your Question
0

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

Hi,

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

Comments

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
0

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 'http://10.132.18.204:5000/v2.0/tokens/' -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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 288 times

Last updated: May 03 '16