Skip to content

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?

4 participants