drive: update drive service account guide

This commit is contained in:
Juang, Yi-Lin 2023-03-24 19:31:46 +08:00 committed by GitHub
parent 1b2f2c0d69
commit 043bf3567d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -227,12 +227,9 @@ There's a few steps we need to go through to accomplish this:
[Google Developer Console](https://console.developers.google.com). [Google Developer Console](https://console.developers.google.com).
- You must have a project - create one if you don't. - You must have a project - create one if you don't.
- Then go to "IAM & admin" -> "Service Accounts". - Then go to "IAM & admin" -> "Service Accounts".
- Use the "Create Credentials" button. Fill in "Service account name" - Use the "Create Service Account" button. Fill in "Service account name"
with something that identifies your client. "Role" can be empty. and "Service account ID" with something that identifies your client.
- Tick "Furnish a new private key" - select "Key type JSON". - Select "Create And Continue". Step 2 and 3 are optional.
- Tick "Enable G Suite Domain-wide Delegation". This option makes
"impersonation" possible, as documented here:
[Delegating domain-wide authority to the service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority)
- These credentials are what rclone will use for authentication. - These credentials are what rclone will use for authentication.
If you ever need to remove access, press the "Delete service If you ever need to remove access, press the "Delete service
account key" button. account key" button.