Files
Musify/Infrastructure/Configuration/StorageClientConfiguration.cs
T
2026-03-20 20:09:36 +01:00

28 lines
628 B
C#

using System.ComponentModel.DataAnnotations;
namespace Musify.Infrastructure.Configuration
{
public class StorageClientConfiguration
{
public const string SectionName = "Storage";
[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; }
}
}