mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-16 18:35:03 -06:00
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: "",
|
||||
}},
|
||||
&credentials.EnvProvider{},
|
||||
&credentials.SharedCredentialsProvider{Filename: "", Profile: ""},
|
||||
&credentials.EC2RoleProvider{},
|
||||
})
|
||||
|
||||
// Make sure we got some sort of working credentials.
|
||||
|
Loading…
Reference in New Issue
Block a user