git-subtree-dir: MusifyBackend git-subtree-mainline:6829e769edgit-subtree-split:ed7b00c2cc
26 lines
601 B
C#
26 lines
601 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Musify.Infrastructure.Configuration
|
|
{
|
|
public class InfrastructureStorageConfiguration
|
|
{
|
|
public const string SectionName = "InfrastructureStorage";
|
|
|
|
[Url]
|
|
[Required]
|
|
public required string Address { get; set; }
|
|
|
|
[Required]
|
|
public required string AccessKey { get; set; }
|
|
|
|
[Required]
|
|
public required string SecretAccessKey { get; set; }
|
|
|
|
[Required]
|
|
public bool ForcePathStyle { get; set; }
|
|
|
|
[Required]
|
|
public bool UseHttp { get; set; }
|
|
}
|
|
}
|