mirror of
https://github.com/versity/versitygw.git
synced 2026-09-20 06:54:47 +00:00
fix: Closes #323, fixed s3 proxy single user PutBucketAcl issue
This commit is contained in:
committed by
Ben McClelland
parent
ef5a94420c
commit
056c905a65
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user