func JWTConfigFromJSON(jsonKey byte, scope.// Create a service account on "Credentials" for your project at.// the credentials that authorize and authenticate the requests.// JWTConfigFromJSON uses a Google Developers service account JSON key file to read. The JWTConfigFromJSON function that we use to create a jwt.Config object from a service account json file doesn’t set this field: golang/oauth2/blob/0f29369cfe4552d0e4bcddc57cc75f4d7e672a33/google/google.go#L80 cat - Print the specified file or snapshot. prune - Prune revisions by number, tag, or retention policy. check - Check the integrity of snapshots. backup - Save a snapshot of the repository to the storage. Rclone can do it, (see -drive-impersonate), duplciacy can’t. init - Initialize a new repository and storage. It’s literally application data and shall be treated as such.įor 2) OAuth is out of the window – due to expiring and renewable tokens, so I would need to use service account with domain delegation enabled and for that duplicacy needs to be able to impersonate the service account (see createDelegated) as another domain user. I’d argue this needs to be a default – nobody needs to access duplicacy datastore directly it’s an opaque container, messing with it can only bring sorrow. Right now the scope is hard-coded server-side. It seems 1) and 2) is impossible to accomplish today: correct me if I’m wrong.įor 1) the token needs to be created with scope drive.appdata and not drive. to not depend on owned google project and inherited limitations, such as api rate.without need to renew tokens and depend on being up to do so.What I want: duplicacy to target storage on my g-suite account, but:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |