Get started - it's free!
Log in
© 2025

Rotate a webhook secret

Webhook secrets authenticate incoming webhook events from Tailscale to your endpoint. You rotate a webhook secret when you need to replace the existing secret with a new one, either as part of regular security maintenance or after a potential compromise. This process generates a new secret while maintaining your webhook endpoint configuration.

Prerequisites

To rotate a webhook secret, ensure you meet the following prerequisites:

Instructions

The following instructions guide you through the process of rotating a webhook secret in the Tailscale admin console.

Rotating a webhook secret replaces the existing secret with a new one. The old secret stops working immediately after rotation, so you need to update your verification routine with the new secret to continue receiving events.

  1. Open the Webhooks page of the admin console.

  2. Find the endpoint for which to rotate the secret, then select the ellipsis icon menu > Rotate webhook secret. This opens the Rotate webhook secret modal.

  3. Select Rotate to confirm you want a new secret.

  4. In the Rotate webhook secret modal, select Copy to copy the new secret.

  5. Save the secret in a secure location. You won't be able to access it again after closing the modal.

Treat the webhook secret like a password. Make sure to store it in a secure location.

  1. Select Done.

The new secret takes effect immediately for all new events. Update your signature verification routine with the new secret to continue processing webhook events.

Next steps

After rotating your webhook secret, consider the following next steps:

Last updated Aug 29, 2025