Interface IKeyringBackend

Namespace
Kuestenlogik.Bowire.Keyring
Assembly
Kuestenlogik.Bowire.Keyring.dll

The platform-specific credential-store read seam. The one shipped implementation is OsKeyringBackend (Windows Credential Manager / macOS Keychain / libsecret); tests inject an in-memory fake so the resolver, endpoint, and CLI paths can be exercised without touching a real store.

public interface IKeyringBackend

Properties

BackendId

The backend id actually in effect (wincred, keychain, secret-tool, or none when no store is available on the running OS). Surfaced by the status endpoint so the UI can explain why a lookup returned nothing.

string BackendId { get; }

Property Value

string

Methods

Read(KeyringReference)

Read one secret. Returns a KeyringReadResult that distinguishes "found" from "not found" from "the store errored", so the caller can leave the placeholder intact on a miss without masking a genuine backend failure in the logs.

KeyringReadResult Read(KeyringReference reference)

Parameters

reference KeyringReference

Returns

KeyringReadResult