From b42bd7d24d4ef8e5bd649f848479fa6ef9698244 Mon Sep 17 00:00:00 2001 From: Daniel Tiplinsky Date: Tue, 15 Aug 2023 02:15:40 +0400 Subject: [PATCH] disable mandatory V2 Google signature (#1870) --- 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