Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow GoogleDrive to authenticate via application default credentials…
… on Cloud Run/GCE etc without service key (#6035) @eyurtsev The existing GoogleDrive implementation always needs a service account to be available at the credentials location. When running on GCP services such as Cloud Run, a service account already exists in the metadata of the service, so no physical key is necessary. This change adds a check to see if it is running in such an environment, and uses that authentication instead. --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
- Loading branch information