From bf10bf26c8c5b34efafd278bd2d6c921fea62f38 Mon Sep 17 00:00:00 2001 From: Daniel Tiplinsky Date: Thu, 10 Aug 2023 18:13:15 +0400 Subject: [PATCH] disable mandatory V2 Google signature --- api.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api.go b/api.go index cf73efeb0..41cf9a695 100644 --- a/api.go +++ b/api.go @@ -158,10 +158,6 @@ func New(endpoint string, opts *Options) (*Client, error) { if err != nil { return nil, err } - // Google cloud storage should be set to signature V2, force it if not. - if s3utils.IsGoogleEndpoint(*clnt.endpointURL) { - clnt.overrideSignerType = credentials.SignatureV2 - } // If Amazon S3 set to signature v4. if s3utils.IsAmazonEndpoint(*clnt.endpointURL) { clnt.overrideSignerType = credentials.SignatureV4