Skip to content

Commit

Permalink
ref: clarify GDrive remote param (#2612)
Browse files Browse the repository at this point in the history
* ref: -c option typos

* start: typo
per #2507 (comment)

* test: md link style (1)

* guide: refactor md links in external data page

* start: undo typo fix

* ref: md ref link

* api: use ref links

* ref: clarify gdrive_service_account_user_email
GDrive remote param
jorgeorpinel authored Jul 7, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2bb3ed2 commit 2a198e6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions content/docs/command-reference/remote/modify.md
Original file line number Diff line number Diff line change
@@ -528,20 +528,23 @@ more information.
path/to/file.json
```

- `gdrive_service_account_user_email` - email of a user account to
[impersonate](https://developers.google.com/admin-sdk/directory/v1/guides/delegation)
with the service account. Optional when `gdrive_use_service_account` is on.
DVC requires domain-wide authority delegated to service account to include
following OAuth Scopes (authorised in Google Workspace Admin console):

- `https://www.googleapis.com/auth/drive`
- `https://www.googleapis.com/auth/drive.appdata`
- `gdrive_service_account_user_email` - email of a user account whose authority
should be [delegated] to the service account.

```dvc
$ dvc remote modify myremote \
gdrive_service_account_user_email 'myemail-addr'
gdrive_service_account_user_email 'myemail-addr'
```

Domain-wide delegation of authority is required to include the following OAuth
Scopes (authorized in Google Workspace Admin console):

- `https://www.googleapis.com/auth/drive`
- `https://www.googleapis.com/auth/drive.appdata`

[delegated]:
https://developers.google.com/admin-sdk/directory/v1/guides/delegation

</details>

<details>

0 comments on commit 2a198e6

Please sign in to comment.