webhooks.infisical() verifies the HMAC-SHA256 signature Infisical sends in x-infisical-signature on every request.
/trigger/infisical.ts
Set up Infisical
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - Choose Generate secret on the Trigger.dev endpoint and copy the value.
- In Infisical, go to Project Settings > Webhooks and create a General webhook with the webhook URL. Optionally limit it to an environment and secret path.
- Paste the secret into the webhook’s secret key field. The secret is required: Infisical only signs webhooks that have one, and the endpoint rejects unsigned deliveries.
- Send a test event from Infisical, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

