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