basalt / auth/src / apiKeyRoutes
Function: apiKeyRoutes()
> apiKeyRoutes(): BasaltRoute[]
Defined in: auth/src/routes.ts:230
CRUD routes for API keys, all requiring a logged-in user (meta.auth). Keys are scoped to the caller's tenant (ctx().tenant) and user; a caller only ever sees or revokes keys within that scope. Register alongside authRoutes and pair with apiKeysPlugin.