feat(dev): containerize local dependencies
Some checks failed
ci / release-gate (push) Has been cancelled
Some checks failed
ci / release-gate (push) Has been cancelled
This commit is contained in:
17
Tiku.Infrastructure/Storage/S3CompatibleOptions.cs
Normal file
17
Tiku.Infrastructure/Storage/S3CompatibleOptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user