Skip to content

Commit af05c14

Browse files
author
william
authored
docs: update a new method(service account) of use about google drive (#223)
1 parent 8bbc980 commit af05c14

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/guide/drivers/googledrive.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ Similar to Aliyundrive, the last string of the official website URL, such as:
2727

2828
![google](/img/drivers/googledrive.png)
2929

30+
### **refresh_token [Google Service Account/SA]**
31+
> You will be allowed to use Google Service Account/SA to access files in your Google Drive in v3.17.0 and later versions.
32+
33+
> Simply fill in the **refresh_token** field with the **path to the SA file** or the **folder where it is located** to access your Google Drive using the Google Service Account/SA.
34+
35+
The following methods will be allowed(recommend 1st):
36+
- `/accounts` This method will automatically use all SA files in that folder.
37+
- `/accounts/the_sa_file.json`
38+
39+
As in the example above, all **paths must be absolute**, and the SA file name must also be ***.json**
40+
41+
#### **Generate your SA file**
42+
> For generating SA files, you can see the following link, [xyou365/AutoRclone](https://github.com/xyou365/AutoRclone/blob/master/Readme.md "AutoRclone")
43+
3044
## **Detailed Text Tutorial**
3145

3246
::: warning matters needing attention

0 commit comments

Comments
 (0)