[object_store,gcp] Document GoogleCloudStorage Default Credentials #5187
Labels
documentation
Improvements or additions to documentation
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
help wanted
object-store
Object Store Interface
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'd like to authenticate via object_store to GCP, but I don't want to have to pass around a json file of credentials.
Describe the solution you'd like
Ideally, I could use the service principal configured on my compute instance to issue requests. It can be fetched via https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys#instance-metadata
As a less good, but also fine solution.. I'd like access to TokenProvider so that I can just issue the relevant API call myself.
Describe alternatives you've considered
I think I'll have to code my own CredentialProvider, but you already have a higher level abstraction I can't get access to.
Additional context
The text was updated successfully, but these errors were encountered: