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 Google Auth's load_credentials_from_* Methods #1041

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 4, 2023

  1. Use Google Auth's load_credentials_from_* Methods

    These methods handle services accounts as well any any other credential
    method. Got someone using DBT with AWS-based Auth (see dbt-labs#86)? This will
    work with AWS Auth.
    
    Typical service account auth with a key file and oauth2 jwt assertion grant
    stuff still works and is covered here: https://github.com/googleapis/google-auth-library-python/blob/v2.14.1/google/auth/_default.py#L408
    
    I did add `google-auth>=2.20.0` which is the first version that has
    `load_credentials_from_dict`. Previously this lower bound was v2.14.1
    (from `google-api-core>=2.11`).
    
    Basically this will just let folks auth bigquery however they would auth
    any gcloud resources without any extra effort. And the previous versions
    config still works exactly the same.
    chrisguitarguy committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c9b60d5 View commit details
    Browse the repository at this point in the history