fix: 兼容新版 S3 SDK 签名配置

This commit is contained in:
2025-12-02 14:19:44 +08:00
parent 4935e5390b
commit ee506cfa50

View File

@@ -169,8 +169,7 @@ public abstract class S3StorageProviderBase : IObjectStorageProvider, IDisposabl
{
ServiceURL = ServiceUrl,
ForcePathStyle = ForcePathStyle,
UseHttp = !UseHttps,
SignatureVersion = "4"
UseHttp = !UseHttps
};
var credentials = new BasicAWSCredentials(AccessKey, SecretKey);