From 5e29b0b840fd8e130221e2404ecbc553fe975d7d Mon Sep 17 00:00:00 2001 From: Stephen Greenberg Date: Thu, 7 Nov 2024 09:23:36 -0700 Subject: [PATCH] virtual style access is required for fips endpoints --- s3client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3client.go b/s3client.go index 74b3a7f..35fa0ba 100644 --- a/s3client.go +++ b/s3client.go @@ -154,7 +154,7 @@ func NewAwsConfig( awsConfig := &aws.Config{ Region: aws.String(regionName), Credentials: creds, - S3ForcePathStyle: aws.Bool(true), + S3ForcePathStyle: aws.Bool(false), MaxRetries: aws.Int(maxRetries), DisableSSL: aws.Bool(disableSSL), HTTPClient: httpClient,