Files
atlantis/runatlantis.io/docs/webhook-secrets.md
Jaymo Kang b066ff1833 edit example script to reflect character number recommendation (#881)
* edit example script to reflect character number recommendation
2019-12-19 09:11:54 -08:00

1.4 KiB

Webhook Secrets

Atlantis uses Webhook secrets to validate that the webhooks it receives from your Git host are legitimate.

One way to confirm this would be to whitelist requests to only come from the IPs of your Git host but an easier way is to use a Webhook Secret.

::: tip NOTE Webhook secrets are actually optional. However they're highly recommended for security. :::

::: tip NOTE Azure DevOps uses Basic authentication for webhooks rather than webhook secrets. :::

::: warning Bitbucket.org does not support webhook secrets. To mitigate, use repo whitelists and IP whitelists. See Security for more information. :::

Generating A Webhook Secret

You can use any random string generator to create your Webhook secret. It should be > 24 characters.

For example:

::: tip NOTE You must use the same webhook secret for each repo. :::

Next Steps