Closed chexton closed 6 months ago
Adds support for WithCredentialsJSON (see Google docs) instead of requiring a credentials file.
WithCredentialsJSON
This helps provide a way to limit credentials living on disk/in long-lived files.
Expects a base64 encoded credentials file passed in as a URL query parameter.
We don't store credentials on disk and but still want a way to explicitly pass them to the underlying Go driver for connecting to BigQuery.
Closing in favour of https://github.com/go-gorm/bigquery/pull/22 (no / in the branch name makes testing easier).
/
What did this pull request do?
Adds support for
WithCredentialsJSON
(see Google docs) instead of requiring a credentials file.This helps provide a way to limit credentials living on disk/in long-lived files.
Expects a base64 encoded credentials file passed in as a URL query parameter.
User Case Description
We don't store credentials on disk and but still want a way to explicitly pass them to the underlying Go driver for connecting to BigQuery.