Added `SharedCredentialsProvider` and `EC2RoleProvider` as well...
This commit is contained in:
parent
5435815524
commit
897bf5e53d
|
@ -41,6 +41,8 @@ func s3Factory(conf map[string]string) (Client, error) {
|
||||||
SessionToken: "",
|
SessionToken: "",
|
||||||
}},
|
}},
|
||||||
&credentials.EnvProvider{},
|
&credentials.EnvProvider{},
|
||||||
|
&credentials.SharedCredentialsProvider{Filename: "", Profile: ""},
|
||||||
|
&credentials.EC2RoleProvider{},
|
||||||
})
|
})
|
||||||
|
|
||||||
// Make sure we got some sort of working credentials.
|
// Make sure we got some sort of working credentials.
|
||||||
|
|
Loading…
Reference in New Issue