displayName
amux gateway tokens create
kind
cli-subcommand
surface
cli
parentBin
amux
subcommandVerb
gateway tokens create
flags
- --config:1:gateway config path
- --name:1:friendly token name (default token@<hostname>)
- --ttl-ms:1:expiry in ms (null = never)
- --qr:0:render QR code with token + url
- --url:1:URL embedded in QR (default http://127.0.0.1:7878)
subcommandExitCodes
description
Create a new gateway access token (optionally render QR for mobile
onboarding). Source:
packages/agent-mux/cli/src/commands/gateway/tokens.ts:63-79.