Interface: ResolveVendorKeysOptions
Defined in: packages/aiui-util/src/vendor-keys.ts:189
Properties
decisions?
optionaldecisions?:Partial<Record<VendorProvider,KeyDecision>>
Defined in: packages/aiui-util/src/vendor-keys.ts:199
Defaults to readKeyDecisions of the user config.
env?
optionalenv?:ProcessEnv
Defined in: packages/aiui-util/src/vendor-keys.ts:197
lookup?
optionallookup?: (account) =>Promise<string|null>
Defined in: packages/aiui-util/src/vendor-keys.ts:201
Injectable vault read (defaults to vaultLookup).
Parameters
account
string
Returns
Promise<string | null>
mode
mode:
"source"|"installed"
Defined in: packages/aiui-util/src/vendor-keys.ts:196
"source" = running from this monorepo checkout (aiui-util's packageFromSource on the caller's own package is the usual signal): env vars are honored and WIN. "installed": the environment is ignored for keys — the vault (as gated by the decisions) is the only source.
onWarn?
optionalonWarn?: (message) =>void
Defined in: packages/aiui-util/src/vendor-keys.ts:209
Vault failures/timeouts surface here (once per key), never as throws.
Parameters
message
string
Returns
void
timeoutMs?
optionaltimeoutMs?:number
Defined in: packages/aiui-util/src/vendor-keys.ts:207
Per-lookup guard: a wedged vault (Linux with no D-Bus session, a locked keychain waiting on a prompt that can't render) must degrade the key to missing, never hang the caller's boot. Default 3000 ms.