feat(infrastructure): register RsaKeyService in DI

This commit is contained in:
Joseph Doherty
2026-01-03 08:19:39 -05:00
parent 97ef3e4345
commit 5ae634888f
2 changed files with 35 additions and 6 deletions
@@ -0,0 +1,15 @@
namespace JdeScoping.Core.Options;
/// <summary>
/// Configuration options for RSA key service.
/// </summary>
public class RsaKeyOptions
{
public const string SectionName = "RsaKey";
/// <summary>
/// Path to store the RSA private key file.
/// Defaults to "data/rsa-key.bin" relative to app directory.
/// </summary>
public string KeyFilePath { get; set; } = "data/rsa-key.bin";
}