Security & Auth
Two token types.
- Master token (
MT_...) — backend only. Creates, refreshes, and revokes access tokens. Optionaltenant_prefixandallow_ip_maskslive in Cockpit JSON, not in theMT_...string. - Access token (
AT_{id}_{secret}) — given to clients. Carries tenant grants and optional network limits.
Start here:
- Tokens — format, TTL, refresh, revoke, how they are sent
- Permissions model — tenant grants and channel rules
- Threat model & best practices — least privilege, browsers, leaks
Related: