Skip to content

ENH: Clear authentication defaults with more fine-grained control #129

Closed
@max-sixty

Description

@max-sixty

We have about 220 lines of code which handles authentication - do we need that? Generally the answer to "do we need something we do a lot of" is 'Yes', but asking regardless

My prior is that we could:

  1. Check if creds are passed by the user
  2. Otherwise pass nothing through to the Google libraries, and let them manage the defaults

That would reduced the code we needed to maintain and conform to standards - Google have very reasonable defaults, and we make it harder for those to flow through - e.g. PANDAS_GBQ_CREDENTIALS_FILE is non-standard, every other implementation uses GOOGLE_APPLICATION_CREDENTIALS, so users need to have an additional setting to use this library

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