S3: add file credentials to chain

Signed-off-by: Steve Kriss <steve@heptio.com>
This commit is contained in:
Steve Kriss 2018-05-16 16:35:14 -07:00
parent ecfe59235e
commit d67b9a32c6

View file

@ -55,6 +55,8 @@ func open(cfg Config, rt http.RoundTripper) (*Backend, error) {
SecretAccessKey: cfg.Secret, SecretAccessKey: cfg.Secret,
}, },
}, },
&credentials.FileAWSCredentials{},
&credentials.FileMinioClient{},
&credentials.IAM{ &credentials.IAM{
Client: &http.Client{ Client: &http.Client{
Transport: http.DefaultTransport, Transport: http.DefaultTransport,