I am trying to use Google Cloud Storage for presenting user specific image and video files in my Django app. Thus, I cannot make the underlying bucket public.
When configuring the suggested options from the documentation (I cannot use a local credentials file, as key generation is blocked in my org) I get the following error message when trying to access the URL of an uploaded image file: Invalid setting 'GS_IAM_SIGN_BLOB' for GoogleCloudStorage
My setting.py looks like this
STORAGES = {
"default": {
"BACKEND": "storages.backends.gcloud.GoogleCloudStorage",
"OPTIONS": {
"bucket_name": "123456789",
"GS_IAM_SIGN_BLOB": True,
"GS_SA_EMAIL":"[email protected]"
},
},
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}