basalt / api-keys-ui/src / apiKeysPageHtml
Function: apiKeysPageHtml()
> apiKeysPageHtml(options?): string
Defined in: api-keys-ui/src/html.ts:103
A self-contained HTML page (no dependencies, no build) to manage API keys by calling @basaltkit/auth's routes: GET/POST /apikeys and DELETE /apikeys/:id. Serve it from a route (see apiKeysUiRoutes). The page assumes the browser is already authenticated (session cookie) for those routes.
Parameters
options?
ApiKeysPageOptions = {}
Returns
string