You generate the GitHub webhook secret yourself. GitHub does not issue it.
For your Windows environment, the easiest secure method is PowerShell. Open PowerShell and run:
That will generate a 64-character random secret. A stronger cryptographic method is:
You will get something resembling:
Use that same exact secret in two places:
Then, when you create the webhook inside GitHub, paste the same value into GitHub's Secret field.
So the relationship is:
GitHub will use that secret to calculate the X-Hub-Signature-256 signature on webhook requests, and the UHD code your developer built will verify that signature before accepting the webhook.
Do not send this secret to me, put it in GitHub source code, README files, or EOD notes. Store it with your other production credentials.
Also, this secret is completely different from the GitHub PAT:
The PAT lets UHD read GitHub.
The webhook secret verifies that incoming messages really came from GitHub.