Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gcloud sdk/cli local authentication (instead of service-account) #3

Open
frivoire opened this issue May 23, 2023 · 0 comments
Open

Comments

@frivoire
Copy link

On our machines, we already have access with gcloud.
So the python script could use it directly (no config), and thus not requiring to pass a service-account that we usually don't have on a local machine (because it's not a "service")

cf: Google's recommendations: https://googleapis.dev/python/google-api-core/latest/auth.html#overview

If you’re developing locally, the easiest way to authenticate is using the Google Cloud SDK:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant