We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c5e2f commit f8f5047Copy full SHA for f8f5047
1 file changed
src/ImageSharp.Web.Providers.AWS/AmazonS3ClientFactory.cs
@@ -23,7 +23,7 @@ public static AmazonS3Client CreateClient(IAWSS3BucketClientOptions options)
23
{
24
// AccessKey can be empty.
25
// AccessSecret can be empty.
26
- AmazonS3Config config = new() { ServiceURL = options.Endpoint, ForcePathStyle = true };
+ AmazonS3Config config = new() { ServiceURL = options.Endpoint, ForcePathStyle = true, AuthenticationRegion = options.Region };
27
return new AmazonS3Client(options.AccessKey, options.AccessSecret, config);
28
}
29
else if (!string.IsNullOrWhiteSpace(options.AccessKey))
0 commit comments