Skip to main content
All posts
How To2 min read

How to Rotate a PingRoom Outgoing Webhook Signing Secret

Replace the signing secret at an existing receiver, verify a fresh signed test, and resume forwarding to the same URL.

Pingo watches at a miniature print shop as a man puts a worn stamp in a drawer and a woman stands by its replacement.

For a planned rotation, switch off forwarding, regenerate the secret in PingRoom, and load the replacement key into your receiver. Send a signed test while forwarding is off. Once the receiver verifies it with the new key, switch forwarding back on and check one normal Room event.

The Room owner makes the change in PingRoom’s browser app. The person who operates the receiver needs access to its secret store and a way to reload or redeploy it. Rotation is available on Free and Pro. Free allows one enabled outgoing webhook across the owner’s Rooms. Another Room occupying that slot can also prevent this Room’s test or restart.

Replace the key at both ends

  1. In the Room you own, open Settings → Connections → Outgoing Webhook. Note the event selection and confirm the destination before making changes. Check how the receiver reloads secrets and handles tests before starting.
  2. Switch off Deliver pings. The destination and event selection stay saved. See the pause guide for how to plan around the forwarding window. Treat already in-flight requests separately.
  3. Open Signing secret and select Regenerate. This replaces the key used for new deliveries. Use Copy to transfer the replacement directly to the receiver’s secret store. Replace the old verifier secret and reload the receiver. Keep the secret out of Room messages, logs, and tickets.
  4. Leave forwarding off and select Send test. In the receiver, confirm a successful signature check on the fresh request. Handle the verified test separately from ordinary events so it doesn’t run the dispatch action. An HTTP success response alone does not show which verifier accepted it. Use the PingRoom signature reference to check which headers and raw bytes to verify.

Rehearse two checks before restarting

Imagine a print shop whose dispatch receiver records selected Room events. In the illustration, Pingo watches one stamp go into a drawer and the next one go through a sample run. The shop operator distinguishes two checks at the receiver.

CheckExpected result
Fresh test from PingRoom after loading the new keyThe receiver verifies the signature and records the test without creating a dispatch job.
Disposable retired-key fixture in an isolated copy of the receiverVerification fails before the action handler. Use sample keys and a current timestamp so an expired request can’t account for the result.

Pingo and a red-haired man watch as a blonde woman presses a new stamp onto a pad beside a blank envelope.

After the fresh test passes, turn on Deliver pings. Send a harmless ordinary Ping that matches the saved event filter and look for its authenticated delivery ID in the receiver. Check that one expected action ran. Review any gaps during the pause from the source records. For a first-time receiver, follow the signed receiver setup.

Open your Rooms to review the webhook you plan to rotate.

The print shop is an example. AI-generated editorial illustrations show Pingo and approved fictional PingRoom avatars.

PingRoom

Short-form communication.

View all posts