Rclone service accounts with rclone mount

Is it possible to use a service account with a rclone mount?

Should I use --drive-impersonate or --drive-service-account-file?

Do I need to create a new remote and authenticate it with the service account I want to? I'm a bit lost here...

It's documented here on a service account flow to setup and use:

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

so if I have in my config file:

[test]
type = drive
scope = drive
service_account_file = /opt/sa/1.json
team_drive = ID

And I create a rclone mount with rclone mount test: I'll be using this SA already to access the teamdrive? With it's own upload/download limits?

Yes

I think the limits apply to each user. if you aren't using --drive-impersonate then that is the sa user.

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