You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason django-gcloud-storage needs Google SA credentials specifically stored in a file, which contracts the modern 12 factor approach where the apps/containers are stateless and everything is passed via environment variables.
Will you please add support for GCS_CREDENTIALS (as opposed to GCS_CREDENTIALS_FILE_PATH)? gcloud itself already supports it with storage.Client(credentials=google.auth.jwt.Credentials.from_service_account_info(json.load(base64.b64decode(settings.GCS_CREDENTIALS).decode("utf-8")))) (vs. storage.Client.from_service_account_json)
The text was updated successfully, but these errors were encountered:
This would probably be a simple change mostly here. Feel free to open a PR with this. Alternatively this may already be possible with django-storages, since it supports gcloud natively for a while now.
For some reason django-gcloud-storage needs Google SA credentials specifically stored in a file, which contracts the modern 12 factor approach where the apps/containers are stateless and everything is passed via environment variables.
Will you please add support for
GCS_CREDENTIALS
(as opposed toGCS_CREDENTIALS_FILE_PATH
)? gcloud itself already supports it withstorage.Client(credentials=google.auth.jwt.Credentials.from_service_account_info(json.load(base64.b64decode(settings.GCS_CREDENTIALS).decode("utf-8"))))
(vs.storage.Client.from_service_account_json
)The text was updated successfully, but these errors were encountered: