Skip to content

publicly expose _default._load_credentials_from_info #1313

@kapilt

Description

@kapilt

at the moment the public interface is just google.auth.default() and load_credentials_from_file, but if we have a data dictionary already due to it being loaded from a non file source it would be nice to pass it directly to load_credentials_from_info https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/_default.py#L133

the load from file function is just a super thin wrapper to load from info.

afaics load_credentials_from_info is the most compatible across all the auth forms that gcp supports. (user default app, service account, external).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions