capabilities.work

Rotate URL Signing Key

A 4-step recipe with Mux. We can help you get access.

Recipe · 4 steps

Rotate URL Signing Key

with Mux · Content Protection & DRM Management
Works with AI assistants

Create a new URL signing key and retire the previous one.

  1. Create a new URL signing key, returning its id, private key, and public key.
  2. Read the newly created signing key back to capture its public key for distribution to verifiers.
  3. List the URL signing keys in the environment to confirm both the new and previous keys are present before retiring the old one.
  4. Delete the previous signing key so signed playback tokens must be minted with the new key going forward.
What you'll need to have ready
  • previousKeyId: The id of the existing URL signing key to retire once the new key is created.
For your developer

Arazzo workflow mux-com:url-signing-key-rotation, 4 operations: create-url-signing-key → get-url-signing-key → list-url-signing-keys → delete-url-signing-key. Specs on APIs.io.