fix(secrets-cli): shipped appsettings.json no longer sets a relative SqlitePath (scadaproj#49)
The CLI's own appsettings.json set "SqlitePath": "secrets.db", which the store-path validator rejects as relative, so the headless CLI failed at startup when run from its own directory unless Secrets__SqlitePath overrode it. The key is removed: the per-user default (<LocalApplicationData>/ZB.MOM.WW/secrets.db) applies, and an app's appsettings.json in the working directory or the environment still override it. Regression test validates the shipped file. Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"Secrets": {
|
||||
"SqlitePath": "secrets.db",
|
||||
"MasterKey": {
|
||||
"Source": "Environment",
|
||||
"EnvVarName": "ZB_SECRETS_MASTER_KEY"
|
||||
|
||||
Reference in New Issue
Block a user