Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / RefStoreLookup

Type Alias: RefStoreLookup

ts
type RefStoreLookup = (key, ctx?) => Promise<SecretValue | null>;

Defined in: packages/security/src/secrets/resolvers/ref.ts:18

Internal

Optional callback used by the ref: scheme to ask the active SecretsStore for a value. The factory wires this up so the resolver can dispatch through whatever fallback chain is currently active without taking a hard dependency on the store module.

Parameters

ParameterType
keystring
ctx?SecretResolverContext

Returns

Promise&lt;SecretValue | null&gt;