feat: Project peready 2.0
This commit is contained in:
12
LctMonolith/Application/Options/S3StorageOptions.cs
Normal file
12
LctMonolith/Application/Options/S3StorageOptions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace LctMonolith.Application.Options;
|
||||
|
||||
public class S3StorageOptions
|
||||
{
|
||||
public string Endpoint { get; set; } = string.Empty;
|
||||
public bool UseSsl { get; set; } = true;
|
||||
public string AccessKey { get; set; } = string.Empty;
|
||||
public string SecretKey { get; set; } = string.Empty;
|
||||
public string Bucket { get; set; } = "avatars";
|
||||
public string? PublicBaseUrl { get; set; } // optional CDN / reverse proxy base
|
||||
public int PresignExpirationMinutes { get; set; } = 60;
|
||||
}
|
||||
Reference in New Issue
Block a user