Rotate the secret key
You can rotate the secret key using the following steps:
- Log in to the Cloudflare dashboard and select your account.
- Go to Turnstile.
- In the widget overview, select Settings > Rotate Secret Key.
- Configure your website to use the new secret key.
The rotation occurs over the course of two hours. During this time, both the old secret key and the new secret key are valid. This allows customers to swap the secret key while avoiding any issues with their website.