Service_account_file problem

What is the meaning of service_account_file?

pic

I want to use my own Google API key to mount the Google Drive on my server, but I don't know what is service_account_file and What do I need to fill in for this? Where can I get the service_account_file?

Thank you.

It's documented on the Google Drive page.

https://rclone.org/drive/#service-account-support

Yes. I have tried to follow the guidelines step by step. But it failed to mount the Google Drive on my server.

Please help

Best way to help if to give the information in the help and support template.

Can't see your rclone.conf so not sure what you have setup. (Make sure to remove keys/sensitive data).

Here is my rclone.conf for your information.

Please help, thanks!

Can you paste text? It's hard to read what's in that screenshot.

Like in the help and support template, use 3 backtics `

before and after a block of code you want to paste

like this

[GoogleDrive]
type = drive
client_id = 95xxxxxxxx39-30xxxxxxxxxxxx26.apps.googleusercontent.com
client_secret = pnxxxxxxxxxxxxxxxxxxx11
scope = drive
service_account_file = /home/www/client_secret_9xxxxxxxxx9-30xxxxxxxxx26.apps.googleusercontent.com.json

The screenshot isn't legible so no need to even add it.

You seem to have a mix client ID/secrets and a service account:

https://rclone.org/drive/#3-configure-rclone-assuming-a-new-install

You can leave/remove client ID/secret as the service account uses it's own thing.

Can you share the output of step 4?
https://rclone.org/drive/#4-verify-that-it-s-working

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.