Files
Musify/Infrastructure/Configuration/InfrastructureStorageConfiguration.cs
T
2026-03-29 18:26:44 +02:00

28 lines
647 B
C#

using System.ComponentModel.DataAnnotations;
namespace Musify.Infrastructure.Configuration
{
public class InfrastructureStorageConfiguration
{
public const string SectionName = "InfrastructureStorage";
[Required]
[Url]
public required string Address { 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; }
}
}