Skip to main content

Posts

Showing posts from May, 2014

OpenStack Keystone Issue with Update of User’s Password – Havana

OpenStack Keystone Update User’s Password – Havana Thanks to this source which helped me out with Openstack keystone documentation issue. Source:  http://blog.autodevbot.com/2014/04/15/openstack-keystone-update-users-password-havana/comment-page-1/#comment-59 It took me a while to figure out how to update a user’s password via the API in Keystone.  All of the documentation seems to be incorrect.  I finally had to take a packet trace of the keystone CLI performing a password update and looking at that before I got the correct API endpoint and what to send to the server.  It turns out to be a PUT request and not like most of their documentation saying it is is a POST request.  Which would make sense since PUT is for updating. Here is the cURL command: curl -X PUT \ -H “X-Auth-Token: ” \ -H “Content-type: application/json” \ -d ‘{“user”: {“password”: “new_password”, “id”: “ “}}’\ http://localhost:35357/v2.0/users/ /OS-KSADM/password