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

Can this package do non-interactive authentication? #263

Closed
quantitative-technologies opened this issue Mar 4, 2023 · 1 comment
Closed
Labels
question Further information is requested

Comments

@quantitative-technologies

The R package googledrive can do non-interactive authentication, with multiple supported methods.

Once setup, I have access programmatically without any user interaction needed.

Does PyDrive2 support this?

@shcheklein shcheklein added the question Further information is requested label Mar 4, 2023
@shcheklein
Copy link
Member

@quantitative-technologies there are a few ways to do non-interactive auth in this case.

  1. Use service accounts docs: add Service account example #21
  2. Do interactive auth locally once, get the credentials files that is created and move it to the machine where you run you application. It can be moved as a file, or passed directly as a json string or dict into GAuth.

We don't support yet things like Workload Identity on Google Kubernetes Engine (GKE).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants