mirror of
https://github.com/restic/restic.git
synced 2025-08-13 21:30:00 +00:00
S3: add file credentials to chain
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
@@ -55,6 +55,8 @@ func open(cfg Config, rt http.RoundTripper) (*Backend, error) {
|
||||
SecretAccessKey: cfg.Secret,
|
||||
},
|
||||
},
|
||||
&credentials.FileAWSCredentials{},
|
||||
&credentials.FileMinioClient{},
|
||||
&credentials.IAM{
|
||||
Client: &http.Client{
|
||||
Transport: http.DefaultTransport,
|
||||
|
Reference in New Issue
Block a user