https://pulumi.com logo
o

orange-tailor-85423

11/06/2018, 5:16 PM
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

stocky-spoon-28903

11/06/2018, 5:38 PM
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

orange-tailor-85423

11/06/2018, 6:34 PM
ah ok - makes perfect sense
thank you