Skip to main content

Regenerate the Webhook Secret

Elestio CI/CD pipelines are triggered by a webhook on your Git repository. Each push sends a payload to Elestio, signed with a webhook secret, so Elestio can check that it really comes from your Git provider.

You can regenerate this secret at any time from the Elestio dashboard. Elestio sets the new secret on the webhook of your repository for you: pushes keep working, and there is nothing to change on GitHub, GitLab or Bitbucket.

This is useful when:

  • You think the current secret may have been exposed
  • Someone who had access to it left your team
  • Your security policy requires rotating secrets regularly

What Changes When You Regenerate​
  • A new secret is set on the webhook of the Git repository.
  • It applies to every pipeline that uses this repository, in the current project and in your other projects on Elestio.
  • New pushes are verified with the new secret, and keep triggering your pipelines as before.
  • Nothing needs to be done on your Git provider (GitHub, GitLab or Bitbucket).

Webhook Secret setting


Regenerate the Webhook Secret​
  1. Go to your service in the Elestio dashboard
  2. Navigate to the CI/CD Pipeline section
  3. Select the Pipeline that uses the repository
  4. Locate the Webhook Secret option, below the Webhook Trigger option
  5. Click Regenerate webhook secret
  6. In the confirmation window, click Regenerate

Regenerate webhook secret confirmation


Notes​
  • The change is not limited to the pipeline you opened: all pipelines connected to the same repository get the new secret.
  • To pause automatic deployments instead, see Enable or Disable Webhook Triggers.
  • You can run a pipeline manually at any time from the Build and Deploy tab, with Resync Pipeline.