fix: Closes #323, fixed s3 proxy single user PutBucketAcl issue

This commit is contained in:
jonaustin09
2023-12-11 11:05:08 -08:00
committed by Ben McClelland
parent ef5a94420c
commit 056c905a65
2 changed files with 8 additions and 2 deletions
+2
View File
@@ -342,6 +342,8 @@ func runGateway(ctx context.Context, be backend.Backend) error {
var iam auth.IAMService
if s3proxyEndpoint != "" {
rootUserAccess = s3proxyAccess
rootUserSecret = s3proxySecret
iam = auth.NewProxy(s3proxyAccess, s3proxySecret, s3proxyRegion, s3proxyEndpoint)
} else {
var err error