openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #07924
Re: swift keystone help
On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec <apevec@xxxxxxxxx> wrote:
> On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan <pradhanparas@xxxxxxxxx> 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.
Follow ups
References