writing onboarding docs for our team. Up until no...
# general
o
writing onboarding docs for our team. Up until now I was always using a service account with the JSON file for passing to GOOGLE_CREDENTIALS. I'd rather in our dev environment that we can auth with our own GCP/GCloud creds. How does this work? Or is this a bad idea and we should have one or many service accounts for development work?
s
You can authenticate using your own credentials rather than a service account - you need to run
gcloud auth application-default login
once you’ve logged into
gcloud
, and that will set the default context to use your user credentials. The provider will pick that up automatically.
o
ah ok - makes perfect sense
thank you