From a68342265c43359181f5bd32b094a19ee597c82d Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Thu, 14 Apr 2022 10:23:44 -0500 Subject: [PATCH] s3: adding v4 signatures for updated compatibility --- pkg/interface/src/logic/lib/useStorage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/interface/src/logic/lib/useStorage.ts b/pkg/interface/src/logic/lib/useStorage.ts index e7efbce6a5..dca5e68bfb 100644 --- a/pkg/interface/src/logic/lib/useStorage.ts +++ b/pkg/interface/src/logic/lib/useStorage.ts @@ -34,7 +34,8 @@ const useStorage = ({ accept = '*' } = { accept: '*' }): IuseStorage => { } client.current = new S3Client({ credentials: s3.credentials, - endpoint: s3.credentials.endpoint + endpoint: s3.credentials.endpoint, + signatureVersion: 'v4' }); } }, [gcp.token, s3.credentials]);