forked from TrueCloudLab/restic
S3: add file credentials to chain
Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
parent
ecfe59235e
commit
d67b9a32c6
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue