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

26 lines
590 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; }
public bool ForcePathStyle { get; set; }
public bool UseHttp { get; set; }
}
}