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

Feature request: automatic identity deduction a la google.auth.default() #1109

Open
danking opened this issue Feb 6, 2024 · 0 comments
Open

Comments

@danking
Copy link
Contributor

danking commented Feb 6, 2024

AFAICT, it's currently required to specify exactly one authentication type in fs.gs.auth.type. This is fine for clusters, but annoying for non-expert users who go back and forth between local prototyping on a laptop and execution on a cluster. For those non-expert users, they have to figure out where spark-defaults.conf is stored and edit that file. To edit that file they have to further know that the configuration variable must be preceded by spark.hadoop..

In contrast, the google-auth Python library provides google.auth.default() which allows users and libraries to request credentials in an environment independent way. It just "does the right thing".

Concretely the request is for:

  1. A "DEFAULT" option to fs.gs.auth.type which uses the exact same precedence as google.auth.default(), and
  2. That the default setting for fs.gs.auth.type be "DEFAULT"
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