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
At the end of devstack run it says:
echo keystone is serving at
$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0/
echo examples on using novaclient command line is in exercise.sh
echo the default users are: admin and demo
echo the password:
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
3 matches
Mail list logo