Streamlined some GCloud credential configuration
This commit is contained in:
parent
5c6bda1ba3
commit
e73e8ccc31
@ -110,7 +110,7 @@ try:
|
||||
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = \
|
||||
app.config['GCLOUD_APP_CREDENTIALS']
|
||||
except KeyError:
|
||||
raise SystemExit('GOOGLE_APPLICATION_CREDENTIALS configuration is missing')
|
||||
raise SystemExit('GCLOUD_APP_CREDENTIALS configuration is missing')
|
||||
|
||||
# Storage backend (GCS)
|
||||
try:
|
||||
|
@ -25,8 +25,9 @@ class Development(object):
|
||||
|
||||
# Credentials to access project on the Google Cloud where Google Cloud
|
||||
# Storage is enabled (Pillar will automatically create and manage buckets)
|
||||
GOOGLE_APPLICATION_CREDENTIALS = os.environ.get(
|
||||
GCLOUD_APP_CREDENTIALS = os.environ.get(
|
||||
'GOOGLE_APPLICATION_CREDENTIALS', '/data/config/google_app.json')
|
||||
GCLOUD_PROJECT = ''
|
||||
|
||||
# Fill in only if we plan to sign our urls using a the CDN
|
||||
CDN_USE_URL_SIGNING = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user