feat(site): DeployedSecretsMirror — per-node apply + decrypt-verify of deployed secrets
This commit is contained in:
@@ -131,5 +131,10 @@ public sealed class SiteRuntimeOptionsValidator : OptionsValidatorBase<SiteRunti
|
||||
$"ScadaBridge:SiteRuntime:ScriptFileAccess:AllowedRoots:{i} must be an absolute directory path " +
|
||||
$"(was '{root}'); a relative root would resolve against the service's working directory.");
|
||||
}
|
||||
|
||||
builder.RequireThat(options.DeployedSecretsMirrorInterval > TimeSpan.Zero,
|
||||
$"ScadaBridge:SiteRuntime:DeployedSecretsMirrorInterval must be a positive duration " +
|
||||
$"(was {options.DeployedSecretsMirrorInterval}); it is the DeployedSecretsMirror " +
|
||||
"reconcile PeriodicTimer period.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user