[성현모] KMS 서비스 기능 추가

This commit is contained in:
SHM
2026-02-02 10:14:43 +09:00
parent cfc36e80d4
commit e673cc20cf
5 changed files with 165 additions and 54 deletions

View File

@ -23,6 +23,7 @@ var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleton<ConfigService<ProxyKMSConfig>>();
//scoped
builder.Services.AddSingleton<HttpService>();
builder.Services.AddSingleton<KmsService>();
builder.Services.AddControllers();
@ -30,6 +31,7 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddHttpContextAccessor();
builder.Services.AddHttpContextAccessor();
//config preload, auth set
ConfigService<ProxyKMSConfig> preloadConfig = new ConfigService<ProxyKMSConfig>();