← Back to Hub

Autonomous Key & Token Authority

Single‑file demo · Long‑lived keys · Single‑use tokens · Local‑only
Connecting to KAS backend...

Long‑Lived API Keys LLAK

Create persistent keys bound to an Agent ID. Stored encrypted‑ish (hashed) in localStorage for this demo.

Create key

Latest created key

No key created yet.

All keys (local)

[]

Single‑Use Tokens SUAT

Tokens are bound to an agent, endpoint, and optional payload hash. They expire after first successful validation or timeout.

Issue token

Latest issued token

No token issued yet.

All tokens (local)

[]

Token Validation & Invalidation

Simulates `/validate-token` and `/invalidate-token`. Validation marks a token as used if valid.

Validate token

Validation result

No validation yet.

Invalidate token early

Invalidation result

No invalidation yet.

Protected API Simulation

This mimics a backend endpoint that requires a valid single‑use token. It calls the in‑page KAS to validate.

Call protected endpoint

Protected API response

No call yet.

Tip: Use latest issued token to test quickly.