apache/libcloud — pull request #376 by erjohnso (2014-10-18 02:47:02+00:00)
Title: LIBCLOUD-625: Allow for internal GCE authorization with metadata service

This PR provides support for authorizing requests from within GCE directly by pulling an authorization token out of GCE's internal metadata services. This greatly simplifies using libcloud inside GCE since it does not require the user to copy around private auth files. The only parameter required for this method is the user's Project ID. See the included docs for a sample use-case.

This PR also attempts to address https://issues.apache.org/jira/browse/LIBCLOUD-607 by appending the Project ID to the cached credential file.