Configure Mux signed playback URLs with a JWT for private video access

domain: docs.mux.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a signing key in the Mux Dashboard or via the Mux API to get a key ID and RSA private key.
  2. Set the asset's or live stream's playback_policy to signed when creating or updating it.
  3. On a trusted backend, generate a JWT with the kid header set to the signing key ID and the sub claim set to the playback ID.
  4. Set an exp claim to limit token lifetime and an aud claim matching the resource type (video, thumbnail, or storyboard).
  5. Append the JWT as the token query parameter on the playback URL, e.g. stream.mux.com/{PLAYBACK_ID}.m3u8?token=...
  6. Issue a fresh token per authenticated session rather than reusing one token across users.

Known gotchas

Related routes

Configure Cloudflare Stream signed URLs for private video playback
developers.cloudflare.com · 5 steps · unrated
Create a Mux direct upload and retrieve a playback ID
docs.mux.com · 6 steps · unrated
Ingest and transcode a video asset via the Mux API and retrieve a playback URL
mux · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans