2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-10 23:31:09 +00:00
restic/internal/backend/gs
Peter Schultz 758b44b9c0 gs: support authentication with access token
In the Google Cloud Storage backend, support specifying access tokens
directly, as an alternative to a credentials file. This is useful when
restic is used non-interactively by some other program that is already
authenticated and eliminates the need to store long lived credentials.

The access token is specified in the GOOGLE_ACCESS_TOKEN environment
variable and takes precedence over GOOGLE_APPLICATION_CREDENTIALS.
2020-07-22 16:23:03 +02:00
..
config_test.go Add Google Cloud Storage as backend 2017-08-06 21:47:55 +02:00
config.go simplified prefix removal, removed unnecessary if-else statements 2019-06-30 23:34:47 +03:00
gs_test.go gs: support authentication with access token 2020-07-22 16:23:03 +02:00
gs.go gs: support authentication with access token 2020-07-22 16:23:03 +02:00