[Openstack] Examples of authentication using the glance REST API?

Vaze, Mandar Mandar.Vaze at nttdata.com
Mon Jun 11 04:04:55 UTC 2012


I think glance uses keystone for authentication (default setup)

See https://lists.launchpad.net/openstack/msg12661.html and http://docs.openstack.org/api/openstack-compute/programmer/content/using-python-to-obtain-the-authentication-token.html for "how to get auth token"

Once you use authenticate against keystone, you can get the auth-token and set it as X-Auth-Token http header

-Mandar

-----Original Message-----
From: openstack-bounces+mandar.vaze=nttdata.com at lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata.com at lists.launchpad.net] On Behalf Of Michael Still
Sent: Monday, June 11, 2012 9:16 AM
To: openstack at lists.launchpad.net
Subject: [Openstack] Examples of authentication using the glance REST API?

Hi.

I am trying to find an example of how to do authentication using the glance REST API. I assume there are some HTTP headers that I need to set, but a pointer to some existing code which does this would be appreciated.

This is part of porting the glance replicator to use the REST API instead of the client library.

Thanks heaps,
Mikal

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding




More information about the Openstack mailing list