- APNs 키 등록 API (POST /v1/in/service/{serviceCode}/apns)
- FCM 키 등록 API (POST /v1/in/service/{serviceCode}/fcm)
- 키 정보 조회 API (POST /v1/in/service/{serviceCode}/credentials)
- AES-256 암호화로 민감 정보 저장
- 조회 시 메타 정보만 반환 (Private Key 미노출)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": ""
|
|
},
|
|
"JwtSettings": {
|
|
"SecretKey": "",
|
|
"Issuer": "SPMS",
|
|
"Audience": "SPMS",
|
|
"ExpiryMinutes": 10,
|
|
"RefreshTokenExpiryDays": 7
|
|
},
|
|
"RabbitMQ": {
|
|
"HostName": "",
|
|
"Port": 0,
|
|
"UserName": "",
|
|
"Password": "",
|
|
"VirtualHost": "/"
|
|
},
|
|
"CredentialEncryption": {
|
|
"Key": ""
|
|
},
|
|
"Serilog": {
|
|
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
|
|
"MinimumLevel": {
|
|
"Default": "Warning",
|
|
"Override": {
|
|
"SPMS": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/spms-.log",
|
|
"rollingInterval": "Day",
|
|
"retainedFileCountLimit": 30,
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{RequestId}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": ["FromLogContext"],
|
|
"Properties": {
|
|
"Application": "SPMS_API"
|
|
}
|
|
}
|
|
} |