Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Manually Creating Webhook Secret

Aditya Rajput edited this page Nov 6, 2022 · 2 revisions

Normally, webhook creation will be handled by the bot upon first subscribing to a new repository. And so in normal circumstances the user won't need to manually create secrets for webhooks.

However, in case one does want to manually create a secure secret, it's advised to use a random string with high entropy. One quick way to achieve this is to run (in the terminal)

python -c "import secrets; print(secrets.token_hex(20))"

Clone this wiki locally