Update main.go
This commit is contained in:
parent
406e608b7d
commit
decff5515c
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