Files
tiku-backend.net/Tiku.Infrastructure/Storage/S3CompatibleOptions.cs
xiong a517ffc6a7
Some checks failed
ci / release-gate (push) Has been cancelled
feat(dev): containerize local dependencies
2026-08-04 13:27:25 +08:00

18 lines
529 B
C#

namespace Tiku.Infrastructure.Storage;
public sealed class S3CompatibleOptions
{
public const string SectionName = "Storage:S3Compatible";
public string? Endpoint { get; set; }
public string? AccessKey { get; set; }
public string? SecretKey { get; set; }
public string? Region { get; set; }
public bool Secure { get; set; }
public bool IsConfigured =>
!string.IsNullOrWhiteSpace(Endpoint) &&
!string.IsNullOrWhiteSpace(AccessKey) &&
!string.IsNullOrWhiteSpace(SecretKey);
}