Skip to content

Function: standardKeySources()

standardKeySources(options?): KeySource

Defined in: packages/aiui-oracle/src/keys.ts:154

The canonical V1 chain — the three key flows, in the decided order:

  1. the user's PASTED key (trumps everything);
  2. the DEV key the Vite plugin injected (dev serve only — a static app under development just works, no server, nothing pasted);
  3. a MINT endpoint, when the app has one (cached, TTL-refreshed).

Compose the pieces yourself for a different order (the lab does, to force its mint flow ahead of the dev key).

Parameters

options?

StandardKeySourcesOptions = {}

Returns

KeySource