Validate webhookv3.8+

Validate an incoming webhook against the Standard Webhooks specification.

Prerequisites

  • A correctly formatted secret key. Learn more about the required secret key format in the Standard Webhooks specification.

Environment variables

  • WEBHOOK_SECRET_KEY: Your correctly formatted secret key.

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: standard-webhooks
    config:
      secret_v1: ${{ env "DECK_WEBHOOK_SECRET_KEY" }}
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!