diff --git a/automon/integrations/google/auth/config.py b/automon/integrations/google/auth/config.py index 665bfcbb..0b44b44c 100644 --- a/automon/integrations/google/auth/config.py +++ b/automon/integrations/google/auth/config.py @@ -58,12 +58,12 @@ def Credentials(self): except: pass - raise Exception(f'Missing GOOGLE_CREDENTIALS or GOOGLE_CREDENTIALS_BASE64') + raise Exception(f'Missing GOOGLE_CREDENTIALS_FILE or GOOGLE_CREDENTIALS_BASE64') @property def _GOOGLE_CREDENTIALS(self): - """env var GOOGLE_CREDENTIALS""" - return environ('GOOGLE_CREDENTIALS') + """env var GOOGLE_CREDENTIALS_FILE""" + return environ('GOOGLE_CREDENTIALS_FILE') @property def _GOOGLE_CREDENTIALS_BASE64(self): diff --git a/env-example.sh b/env-example.sh index fb6ec32d..1117d551 100644 --- a/env-example.sh +++ b/env-example.sh @@ -34,6 +34,10 @@ GOOGLE_TOKEN_URI= GOOGLE_PROJECT_ID= GOOGLE_REFRESH_TOKEN= +GOOGLE_CREDENTIALS_FILE= +GOOGLE_CREDENTIALS_BASE64= +GOOGLE_SHEET_ID= + # Instagram INSTAGRAM_LOGIN= INSTAGRAM_PASSWORD=