Skip to content

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

@frivoire

Description

@frivoire

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions