drive-cli icon indicating copy to clipboard operation
drive-cli copied to clipboard

Service account

Open AnimMouse opened this issue 4 years ago • 1 comments

Can I use a service account to access my Google Drive instead of OAuth?

I'm gonna use this on a remote server without access to the browser, but according to https://github.com/nurdtechie98/drive-cli/issues/86#issuecomment-592888860 it appears Google has disabled option 3 manual copy/paste from the OAuth mechanisms, which I need to use this on a remote server. Login using a service account will solve this.

Also useful on non-interactive servers like GitHub Actions, Travis CI, etc. that you can't copy-paste authentication.

AnimMouse avatar Aug 27 '20 12:08 AnimMouse

Needing this too. I am trying to backup my headless server to Gdrive.

qunm00 avatar Oct 21 '20 01:10 qunm00