nurdtechie98 / drive-cli

A command line interface for accessing google drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service account

AnimMouse opened this issue · 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 #86 (comment) 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.

commented

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