This commit is contained in:
2026-03-20 20:24:46 +01:00
parent 61f4435cc2
commit b97b2f7fb5
10 changed files with 12 additions and 12 deletions
@@ -0,0 +1,27 @@
using System.ComponentModel.DataAnnotations;
namespace Musify.Infrastructure.Configuration
{
public class InfrastructureStorageConfiguration
{
public const string SectionName = "InfrastructureStorage";
[Required]
[Url]
public required string ServiceUrl { get; set; }
[Required]
[MinLength(3)]
public required string AccessKey { get; set; }
[Required]
[MinLength(8)]
public required string SecretAccessKey { get; set; }
[Required]
public bool ForcePathStyle { get; set; }
[Required]
public bool UseHttp { get; set; }
}
}