17 lines
448 B
C#
17 lines
448 B
C#
namespace ApiDenuncias.Configuration;
|
|
|
|
public sealed class KeyVaultOptions
|
|
{
|
|
public const string SectionName = "KeyVault";
|
|
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
public string VaultUrl { get; set; } = string.Empty;
|
|
|
|
public string EncryptionKeySecretName { get; set; } = "denuncias-encryption-key";
|
|
|
|
public bool AllowLocalEncryptionKeyFallback { get; set; }
|
|
|
|
public int EncryptionKeyTimeoutSeconds { get; set; } = 25;
|
|
}
|