Class KeyringResolver
- Namespace
- Kuestenlogik.Bowire.Keyring
- Assembly
- Kuestenlogik.Bowire.Keyring.dll
The single resolution entry point shared by the workbench endpoint
(POST /api/vars/keyring) and the CLI's flow variable resolver.
Applies the Enabled gate, parses the
reference, and delegates the store read to the injected
IKeyringBackend.
public sealed class KeyringResolver
- Inheritance
-
KeyringResolver
- Inherited Members
Constructors
KeyringResolver(KeyringOptions, IKeyringBackend)
Create a resolver over the given options + backend.
public KeyringResolver(KeyringOptions options, IKeyringBackend backend)
Parameters
optionsKeyringOptionsbackendIKeyringBackend
Properties
BackendId
The active backend id (see BackendId).
public string BackendId { get; }
Property Value
Enabled
Whether the store read is currently permitted.
public bool Enabled { get; }
Property Value
Methods
Resolve(string)
Resolve one reference (the text after the keyring. prefix).
Never throws — a disabled resolver, an unparseable reference, a
miss, or a backend error each map to a distinct
KeyringReadStatus so callers can leave the placeholder
intact and, where useful, tell the operator why.
public KeyringReadResult Resolve(string reference)
Parameters
referencestring