Identifiers vs. secrets vs. browser tokens
Norilu separates public identifiers from server secrets and short-lived end-user tokens. Each audience uses a distinct credential prefix and fail-closed API guard:
| Credential / ID | Format | Where it lives | Safe in browser? | If misused on the wrong route |
|---|---|---|---|---|
| Agent ID | agt_... | Frontend & backend | Yes (public identifier only) | Grants zero access without a valid key or token |
| Secret key | nrl_sk_... (NORILU_SECRET_KEY) | Backend secret store only | Never | /api/embed/v1/* rejects nrl_sk_ (403); /api/v1/* rejects browser Origin (403) |
| Browser token | nrl_bt_... | Browser memory only (getToken) | Yes (short-lived, scoped to one (space, user)) | /api/v1/* and /api/management/v1/* reject nrl_bt_ (403); revocable immediately via tokens.revoke() |
| Management key | nrl_mgmt_... | CI / operator server only | Never | Rejected on browser routes and whenever browser headers are present (403) |
Unlike platforms that require a separate public API key in your frontend, Norilu embeds only need the public agentId plus a short-lived nrl_bt_... browser token minted by your backend via norilu.tokens.create(). Because tokens are minted and checked server-side, norilu.tokens.revoke() invalidates an active browser session immediately. See the server-side guide and client-side guide.
Public discovery
The REST catalog at https://norilu.com/api/v1 and MCP server at https://norilu.com/mcp are explicitly open, read-only interfaces. They expose the same public capabilities, example starters, plans and documentation available on this website. No key, OAuth scope or credential is needed. Do not send private tokens to them.
Connections and actions
Customer credentials stay isolated per customer space in Agent Vault. An account connection does not automatically authorize every agent: each agent needs its own permitted resource/operation grant. Actions requiring approval wait for an authorized decision bound to the exact pending tool call and arguments. Catalog tools cannot grant permissions, retrieve secrets or bypass approvals.