# Rotate my Webhook Secret

KORE signs every event it sends with the current `Active` secret key, which there is only ever one of. Rotating a secret allows you to invalidate your old one and have KORE use a new one to sign. You may want to do this because you lost your old secret or your old secret was compromised.

If you wish to rotate your secret, you can create a new secret and mark it as `Active`.

First, navigate to the **Webhook** dashboard and click **Create** to create a new secret.&#x20;

<figure><img src="https://2506474853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ydryXnnBZcpfzlfF36e%2Fuploads%2FFw98H0Jf4OTN30eYt58w%2Fimage.png?alt=media&#x26;token=24584ce4-346d-4daa-84b4-cc0e5cfee92f" alt=""><figcaption></figcaption></figure>

This will create a secret with `Pending` status.

<figure><img src="https://2506474853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ydryXnnBZcpfzlfF36e%2Fuploads%2Fo8m9wlmBZmtwwE7je88A%2Fimage.png?alt=media&#x26;token=daa54624-8d6e-4393-963d-458d20139fc7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The first secret you create will be created in an `Active` state.&#x20;

Any new secret created afterwards will be`Pending`, which you can mark as `Active` when ready.&#x20;

Any additional secrets created will overwrite the previous `Pending` secret, if one exists.
{% endhint %}

To rotate the current `Active` secret, click on the **Activate** button. This will disable the current `Active` secret and mark the `Pending` secret as `Active`.

{% hint style="danger" %}
**Rotating a secret cannot be undone.**

When rotating, ensure you are prepared to receive the new `Active` secret in your implementation. Otherwise, all validations will begin to fail, as KORE will no longer be using old secrets.
{% endhint %}

<figure><img src="https://2506474853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ydryXnnBZcpfzlfF36e%2Fuploads%2FfmQMHn6JQHRkHgEbjg4v%2Fimage.png?alt=media&#x26;token=3c2da0aa-31d9-4d7d-8793-da3f3657768d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2506474853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ydryXnnBZcpfzlfF36e%2Fuploads%2FnjqFhrqEklsxca64ZFTO%2Fimage.png?alt=media&#x26;token=15d84034-83b6-4db4-850b-0f0631f8ae49" alt=""><figcaption><p>Rotate the secret</p></figcaption></figure>

<figure><img src="https://2506474853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ydryXnnBZcpfzlfF36e%2Fuploads%2FJlETWIRp2A2SnUtGqTuc%2Fimage.png?alt=media&#x26;token=f0eef50f-1ad1-45e6-b39e-de4e35994d9c" alt=""><figcaption><p>Pending became active</p></figcaption></figure>
