cc2abc91d6
Playwright Tests / test (push) Waiting to run
Integrate OCORE/OCORE_web-based secret management using Azure Key Vault and DPAPI cache. Update appsettings.json to remove plaintext secrets and list managed keys. Register secret management in Program.cs. Update .gitignore for secret files. Add documentation for naming conventions and migration, plus a PowerShell script for initial secret upload. Centralizes and secures secret handling across the app.
75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
{
|
|
"SecretManagement": {
|
|
"VaultUri": "https://pcwkeys.vault.azure.net/",
|
|
"AppName": "fuchs",
|
|
"CacheFilePath": "secrets.cache",
|
|
"SyncIntervalHours": 6,
|
|
"ManagedSecretKeys": [
|
|
"ConnectionStrings--ocms-ConnectionString",
|
|
"ConnectionStrings--fuchs-fds-ConnectionString",
|
|
"Fuchs--SMS-APIKey",
|
|
"Fuchs--Email--Main--password",
|
|
"Fuchs--Email--Fds--password",
|
|
"Fuchs--Email--Service--password",
|
|
"Fuchs--fuchs-captcha-TOTP",
|
|
"Fuchs--fuchs-intranet-TOTP"
|
|
]
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"ocms_ConnectionString": "MANAGED_BY_KEYVAULT",
|
|
"fuchs_fds_ConnectionString": "MANAGED_BY_KEYVAULT"
|
|
},
|
|
"Fuchs": {
|
|
"ocms_guid": "00094b8f-a822-4e9c-b627-87802f93fca8",
|
|
"ocms_valid_locales_csv": "de,en",
|
|
"ocms_default_locale": "de",
|
|
"fuchs_guid": "cbfc57b3-6b85-4bbc-ab68-3b2c7408af5e",
|
|
"fuchs_intranet_guid": "cbfc57b3-6b85-4bbc-ab68-3b2c7408af5e",
|
|
"fuchs_captcha_TOTP": "MANAGED_BY_KEYVAULT",
|
|
"fuchs_intranet_TOTP": "MANAGED_BY_KEYVAULT",
|
|
"SMS_APIKey": "MANAGED_BY_KEYVAULT",
|
|
"Email": {
|
|
"Main": {
|
|
"alias": "Sebastian Fuchs - Bad und Heizung",
|
|
"to": "anfrage@sanitaerfuchs.de",
|
|
"from": "anfrage@sanitaerfuchs.de",
|
|
"bcc": "info@processweb.de",
|
|
"host": "smtp.office365.com",
|
|
"port": 587,
|
|
"security": "StartTls",
|
|
"username": "anfrage@sanitaerfuchs.de",
|
|
"password": "MANAGED_BY_KEYVAULT"
|
|
},
|
|
"Fds": {
|
|
"alias": "Sebastian Fuchs - Bad und Heizung",
|
|
"to": "",
|
|
"from": "rechnungen@sanitaerfuchs.de",
|
|
"bcc": "",
|
|
"host": "smtp.office365.com",
|
|
"port": 587,
|
|
"security": "StartTls",
|
|
"username": "rechnungen@sanitaerfuchs.de",
|
|
"password": "MANAGED_BY_KEYVAULT"
|
|
},
|
|
"Service": {
|
|
"alias": "ProcessWeb Service",
|
|
"to": "",
|
|
"from": "service@emails.processweb.de",
|
|
"bcc": "",
|
|
"host": "emails.processweb.de",
|
|
"port": 587,
|
|
"security": "StartTls",
|
|
"username": "service@emails.processweb.de",
|
|
"password": "MANAGED_BY_KEYVAULT"
|
|
},
|
|
"TestAddresses": "st.ott@web.de,info@processweb.de"
|
|
}
|
|
}
|
|
} |