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

Support for Google Service Accounts #882

Merged
merged 1 commit into from
Feb 19, 2017
Merged

Conversation

odeke-em
Copy link
Owner

Fixes #879.

Allows using Google Service Accounts.

To do so, initialize it with GSA credentials in JSON form:

$ drive init -service-account-file ~/Desktop/gsaFile.json

Please make sure that you've enabled the Drive API
and if you've enabled the API recently, wait a couple of minutes
for the action to propagate through Google's systems, then retry.

Fixes #879.

Allows using Google Service Accounts.

To do so, initialize it with GSA credentials in JSON form:
```shell
$ drive init -service-account-file ~/Desktop/gsaFile.json
```

Please make sure that you've enabled the Drive API
and if you've enabled the API recently, wait a couple of minutes
for the action to propagate through Google's systems, then retry.
@rihani
Copy link

rihani commented Sep 15, 2017

i get the following error when running this command
drive init --service-account-file ~/API\ Project-907161a41226.json

flag provided but not defined: -service-account-file
Usage of init:
-h

@Liupold
Copy link

Liupold commented Aug 8, 2020

Please update the binary release.

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

Successfully merging this pull request may close these issues.

Does drive support service accounts, so G Suite users can automate initialisation without user prompts?
3 participants