Merge #835 #836 per-instance credential references, confined user-certificate path

This commit is contained in:
Joseph Doherty
2026-11-11 03:53:12 -05:00
35 changed files with 1667 additions and 53 deletions
@@ -58,6 +58,12 @@
/// </summary>
[Parameter] public int TimeoutSeconds { get; set; } = TestConnectBudget.DefaultSeconds;
/// <summary>
/// The driver instance the config belongs to (lmxopcua#835: its own <c>secret:&lt;ns&gt;/&lt;id&gt;/…</c> references are
/// allowed, another instance's are refused). Null ⇒ treated as a not-yet-created instance (stricter).
/// </summary>
[Parameter] public string? DriverInstanceId { get; set; }
private const int ClearAfterMs = 30_000;
private bool _busy;
@@ -81,7 +87,7 @@
var json = GetConfigJson() ?? "{}";
var budget = TestConnectBudget.Resolve(json, TimeoutSeconds, DriverType);
_lastBudgetSeconds = budget;
_result = await Probe.TestAsync(DriverType, json, budget);
_result = await Probe.TestAsync(DriverType, json, budget, driverInstanceId: DriverInstanceId);
}
catch (Exception ex)
{