curl -d '{"auth":{"passwordCredentials":{"username": "*$YOUR_USERNAME*",
"password": "*$YOUR_PASSWORD*"}}}' -H "Content-type: application/json"
http://*$KEYSTONE_SERVER_IP*:35357/v2.0/tokens

Look for the token structure. The id member is what you're after.

HTH,

Andy
andy.edmonds.be


On Tue, Feb 7, 2012 at 20:54, Joe Smithian <joe.smith...@gmail.com> wrote:

> Hi All,
>
> I've installed devStack and I'd like to try RESTful APIs but I don't
> how to get get the API access key?
> I need access key to get the authorization token.
>
> I'd appreciate your help!
>
>
> Joe
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to