Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: GCS blobs signed URLS generation #61

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

kennedykori
Copy link
Contributor

Add a workaround for the inability to sign GCS blob URLs when running on Google Cloud Run. See here for details. The workaround involves loading a service account JSON key file content's from an environment variable and using that to explicitly authenticate Google APIs/SDKs.

Included also are other minor improvements and fixes.

Add a workaround for the inability to sign GCS blob URLs when running on Google Cloud Run. See [here](https://stackoverflow.com/questions/64234214/how-to-generate-a-blob-signed-url-in-google-cloud-run) for details. The workaround involves loading a service account JSON key file content's from an environment variable and using that to explicitly authenticate Google APIs/SDKs.

Included also are other minor improvements and fixes.
@kennedykori kennedykori self-assigned this Apr 4, 2023
@saladgg saladgg merged commit d3fcd88 into develop Apr 4, 2023
@saladgg saladgg deleted the fix-gcs-blob-signed-urls branch April 4, 2023 12:04
kennedykori added a commit that referenced this pull request Apr 5, 2023
Add a workaround for the inability to sign GCS blob URLs when running on Google Cloud Run. See [here](https://stackoverflow.com/questions/64234214/how-to-generate-a-blob-signed-url-in-google-cloud-run) for details. The workaround involves loading a service account JSON key file content's from an environment variable and using that to explicitly authenticate Google APIs/SDKs.

Included also are other minor improvements and fixes.
github-actions bot pushed a commit that referenced this pull request Apr 5, 2023
## [1.6.2](v1.6.1...v1.6.2) (2023-04-05)

### Bug Fixes

* GCS blobs signed URLS generation ([#61](#61)) ([56209d9](56209d9))

### Dependency Updates

* **deps:** update node dependencies ([#60](#60)) ([3a7eca4](3a7eca4))

### Refactors

* **conf:** migrate production static storage to GCS buckets ([#62](#62)) ([fd816c8](fd816c8))
* **conf:** update storages configuration ([#63](#63)) ([70b6244](70b6244)), closes [/docs.djangoproject.com/en/4.2/releases/4.2/#psycopg-3](https://github.com/savannahghi//docs.djangoproject.com/en/4.2/releases/4.2//issues/psycopg-3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants