zerovm / zpm

ZeroVM Package Manager
Apache License 2.0
6 stars 11 forks source link

Use OS_AUTH_TOKEN environment variable if possible #185

Open larsbutler opened 9 years ago

larsbutler commented 9 years ago

Instead of authenticating with username and password (and getting an auth token) for every request, we should try to use the OS_AUTH_TOKEN variable if it is set.

(python-swiftclient uses this env var, so adding this feature to zpm would be consistent behavior.)

larsbutler commented 9 years ago

We might also consider the same for OS_STORAGE_URL.