Update main.go
This commit is contained in:
parent
c7b5cef7f5
commit
418a37f2f1
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -143,7 +143,7 @@ func main() {
|
|||
opts.Creds = credentials.NewIAM(configuration.IamEndpoint)
|
||||
} else {
|
||||
if (configuration.SkipSignature) {
|
||||
opts.Creds = credentials.NewStatic(configuration.AccessKeyID, configuration.SecretAccessKey, "", SignatureType.SignatureAnonymous)
|
||||
opts.Creds = credentials.NewStatic(configuration.AccessKeyID, configuration.SecretAccessKey, "", credentials.SignatureAnonymous)
|
||||
} else {
|
||||
opts.Creds = credentials.NewStaticV4(configuration.AccessKeyID, configuration.SecretAccessKey, "")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue