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

[BUG] google-auth is too old to use service account impersonation #2707

Open
1 task done
nakamasato opened this issue Nov 26, 2023 · 0 comments
Open
1 task done

[BUG] google-auth is too old to use service account impersonation #2707

nakamasato opened this issue Nov 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nakamasato
Copy link

nakamasato commented Nov 26, 2023

Severity

P2 - Not urgent, nice to have

Current Behavior

If you try to use impersonated service account, it fails with DefaultCredentialsError: The file /xxxx/.config/gcloud/application_default_credentials.json does not have a valid type. Type is impersonated_service_account, expected one of ('authorized_user', 'service_account', 'external_account').

Steps to Reproduce

(i'll update the steps to reproduce)

Expected/Desired Behavior

able to authenticate with impersonated_service_account, which enabled in googleapis/google-auth-library-python#956 (released in v2.5.0) but the version is upper bounded in

google-auth~=2.0.1

Python Version

3.11

OS

OSX 12.6

IDE

No response

Packages

google-auth

Additional Context

This is not a bug but just an issue of version dependency. If there's no specific reason, i'd like to release the upper bound of the google-auth version.

Possible Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@nakamasato nakamasato added the bug Something isn't working label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant