Skip to content
Naohide Sano edited this page Nov 1, 2021 · 11 revisions

Installation (1.1.6)

googledrive googledrive (v3)

Application Credential

https://console.developers.google.com/

download from [credentials >> your_id >> download json] and locate it into ${HOME}/.vavifuse/googledrive.json

Property Files

  1. application credential
$ cat ${HOME}/.vavifuse/google.properties
google.googledrive.applicationName=vavi-apps-fuse
google.googledrive.scopes=https://www.googleapis.com/auth/drive
google.googledrive.accessType=offline
  1. user credential (if you use vavi.net.auth.oauth2.google.GoogleLocalAuthenticator)
$ cat ${HOME}/.vavifuse/credentials.properties
google.password.xxx@yyy.zzz=your_password
google.totpSecret.xxx@yyy.zzz=your_totp_secret

onedrive onedrive (v1)

Application Credential

https://github.com/umjammer/OneDriveJavaSDK#registration

Property Files

  1. application credential
$ cat ${HOME}/.vavifuse/onedrive.properties
onedrive.applicationName=your_application_name
onedrive.clientId=your_client_id
onedrive.clientSecret=your_client_swcret
onedrive.redirectUrl=http://localhost:30000
onedrive.scopes=onedrive.readwrite
  1. user credential (if you use vavi.net.auth.oauth2.microsoft.MicrosoftLocalAuthenticator)
$ cat ${HOME}/.vavifuse/credentials.properties
microsoft.password.xxx@yyy.zzz=your_password
microsoft.totpSecret.xxx@yyy.zzz=your_totp_secret

onedrive onedrive (graph)

Application Credential

https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

Property Files

  1. application credential
$ cat ${HOME}/.vavifuse/onedrive.properties
microsoft.graph.applicationName=your_application_name
microsoft.graph.clientId=your_client_id
microsoft.graph.clientSecret=your_client_swcret
microsoft.graph.redirectUrl=http://localhost:30000
microsoft.graph.scopes=files.readwrite.all,offline_access,user.read
  1. user credential (if you use vavi.net.auth.oauth2.microsoft.MicrosoftLocalAuthenticator)
$ cat ${HOME}/.vavifuse/credentials.properties
microsoft.password.xxx@yyy.zzz=your_password
microsoft.totpSecret.xxx@yyy.zzz=your_totp_secret

Google Drive / OneDrive icon by Icons8