Added `SharedCredentialsProvider` and `EC2RoleProvider` as well...

This commit is contained in:
Sander van Harmelen 2015-05-05 20:38:35 +02:00
parent 5435815524
commit 897bf5e53d
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ func s3Factory(conf map[string]string) (Client, error) {
SessionToken: "",
}},
&credentials.EnvProvider{},
&credentials.SharedCredentialsProvider{Filename: "", Profile: ""},
&credentials.EC2RoleProvider{},
})
// Make sure we got some sort of working credentials.