## Secret key rotation 
Updating secret keys regularly enhances the security of your integration. You can create up to 5 secret keys in your project to enable their rotation. To do this:
1. In the **Settings > Webhooks** section, click **Add key**.

![Add key](https://cdn.xsolla.net/developers/current/images/api_docs/webhooks/add-new-key.svg)
1. In the modal window that opens, enter the key name that would allow you to identify it in the general list.
2. Click **Create key**.
3. Click **Copy secret** and save the created key on your side.
4. Click **Done**.
5. Confirm that you have saved the key and click **Ok, close**.

<div lang="en" class="notice">
<p><strong>Notice</strong></p>
<p>Key recommendations:<ul>
<li><strong>Save the generated secret key on your side</strong>. You can view the key in the account only once when it is created.</li>
<li>Don’t share your secret key with anyone.</li>
<li>The secret key must be stored on your server and never in binaries or on the front end.</li></ul>
</p>
</div>
There can be only one active secret key per project. If you want to change it, click **Set as active** in the row of another key and confirm the action. Once you successfully migrate to a new key, we recommend deleting deactivated keys.
![Change active key](https://cdn.xsolla.net/developers/current/images/api_docs/webhooks/activate-key.svg)
