Thanks guys. This returns my token ( not X-Auth-Token?) that I have in api-paste.ini.
How do we list the container or whats the equivalent of this curl -H 'X-Auth-Token: AUTH_tke0f59cda14bf472fbe60e68f78af1c69' http://192.168.122.14:8080/v1/AUTH_admin/ Paras. On Thu, Feb 23, 2012 at 5:09 PM, Chmouel Boudjnah <chmo...@chmouel.com> wrote: > On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec <ape...@gmail.com> wrote: >> On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan <pradhanpa...@gmail.com> >> wrote: >>> Now I have keystone configured at http://192.168.122.14:5000/v2.0 how >>> to use curl in this case to get a token? >> >> Example from devstack: > > By the way for my dev and testing I use this (quickly and hacky > written) script : > > http://p.chmouel.com/ks > > usage is : > > ks host user password #account == user here > > or > > ks host account:user password > > (host can be a full URL if you start it with http or it will use as a > host and convert it to http://host:5000/v2.0/tokens) > > it wil auth to keystone print the formatted json (or show the error if > there is a problem) and at the end will print the curl command to > validate the token on object-storage. > > hopefully this should be useful for someone else. > > Chmouel. _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp