[Openstack] swift keystone help
Chmouel Boudjnah
chmouel at chmouel.com
Thu Feb 23 23:09:17 UTC 2012
On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec <apevec at gmail.com> wrote:
> On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan <pradhanparas at 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.
More information about the Openstack
mailing list