This PR adds the ability to provide credentials via an environment variable for use cases where adding a client_secrets.json to the filesystem in the runtime environment is not feasible.
It was tested against a BigQuery cluster and was able to successfully access the cluster for discovery using only the new GOOGLE_APPLICATION_CREDENTIALS_STRING variable. It does not impact existing functionality if this variable is not set; it simply falls back to the default authentication mechanism.
This PR adds the ability to provide credentials via an environment variable for use cases where adding a
client_secrets.json
to the filesystem in the runtime environment is not feasible.It was tested against a BigQuery cluster and was able to successfully access the cluster for discovery using only the new
GOOGLE_APPLICATION_CREDENTIALS_STRING
variable. It does not impact existing functionality if this variable is not set; it simply falls back to the default authentication mechanism.