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

external_account (Workload Identity) support in _default_async #1635

Open
allanlw opened this issue Nov 18, 2024 · 0 comments
Open

external_account (Workload Identity) support in _default_async #1635

allanlw opened this issue Nov 18, 2024 · 0 comments

Comments

@allanlw
Copy link

allanlw commented Nov 18, 2024

Currently there is no external_account credentials type support in the load_credentials_from_file function in _default_async.

Attempting to use external_account ADC with _default_async throws a misleading error message:

google.auth.exceptions.DefaultCredentialsError: The file <> does not have a valid type. Type is external_account, expected one of ('authorized_user', 'service_account', 'external_account', 'external_account_authorized_user', 'impersonated_service_account', 'gdch_service_account').

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