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

DOC: Add instructions for how to get started with auth & GCP #19

Open
tswast opened this issue Mar 14, 2019 · 3 comments
Open

DOC: Add instructions for how to get started with auth & GCP #19

tswast opened this issue Mar 14, 2019 · 3 comments
Labels
type: feature request 'Nice-to-have' improvement, new feature or different behavior or design.

Comments

@tswast
Copy link
Collaborator

tswast commented Mar 14, 2019

Many of the instructions at https://pandas-gbq.readthedocs.io/en/latest/howto/authentication.html also apply to this library and whereever else it is used, such as in Ibis.

We should pull relevant how-tos out of pandas-gbq and into the documentation for pydata-google-auth.

@max-sixty
Copy link
Collaborator

max-sixty commented Mar 14, 2019

👍

Somewhat separately: IMHO those present a fairly complicated view of what people need to do to get up & running. We've a (so far) v successful setup here where everyone runs gcloud auth login and gcloud auth application-default login, and that is all anyone here needs to do, ever. The same code runs in GKE/GCE. It's also easier and more secure than AWS!

Some of those steps look useful for library developers, but it looks heavy to run some data science, particularly given the audience is generally less technical. It's certainly possible I'm misunderstanding something so please correct me if I'm wrong.

In summary: I'd have a banner at the top saying "If you're just getting started, run gcloud auth application-default login, and go do some awesome data work. See below if you need more customizations"

@tswast
Copy link
Collaborator Author

tswast commented Mar 15, 2019

In summary: I'd have a banner at the top saying "If you're just getting started, run gcloud auth application-default login, and go do some awesome data work. See below if you need more customizations"

The only caveat with that is there are still rumblings within Google (such as the thread at googleapis/google-auth-library-python#271) about turning that feature off. 😞 Thus, pydata_google_auth.default() is the next best thing, since it'll fall back to the web browser auth flow.

@max-sixty
Copy link
Collaborator

Yeah. Maybe let's see how that evolves.

From a user perspective: I think that would create non-trivial friction to getting up & running, exactly for these sorts of use cases. But I only have a partial view

@tswast tswast added the type: feature request 'Nice-to-have' improvement, new feature or different behavior or design. label Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request 'Nice-to-have' improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants