namespace ApiDenuncias.Configuration;

public sealed class ComplaintStorageOptions
{
    public const string SectionName = "ComplaintStorage";

    public string ConnectionString { get; set; } = string.Empty;
    public bool AutoCreateSchema { get; set; }
    public bool UseKeyVault { get; set; } = true;
    public string HostSecretName { get; set; } = "bbdd-host";
    public string UserSecretName { get; set; } = "bbdd-user";
    public string PasswordSecretName { get; set; } = "bbdd-password";
    public string DatabaseSecretName { get; set; } = "bbdd-name";
    public string PortSecretName { get; set; } = "bbdd-port";
    public string SslModeSecretName { get; set; } = "bbdd-ssl-mode";
    public uint DefaultPort { get; set; } = 3306;
    public string DefaultSslMode { get; set; } = "Required";
}
