Nest Engineering Docs
Webhooks

Configuration

Runtime configuration and environment variables for Webhooks

Settings file

  • services/webhooks/config/settings.py
  • Local overrides can be placed in services/webhooks/.env.

Environment variables

VariableRequiredDefaultPurpose
PROJECT_NAMENoNest Data Pipeline - WebhooksService display name
API_V1_STRNo/api/v1API prefix
DEBUGNofalseEnables debug mode
SENTRY_ENVIRONMENTNoproductionSentry environment tag
ALLOWED_ORIGINSNo["*"]CORS allowlist
GCP_PROJECT_IDNoresolved via metadataGCP project id
CLOUD_TASKS_SERVICE_ACCOUNTYesnoneOIDC token service account
CLOUD_TASKS_LOCATIONYesnoneCloud Tasks region
CLOUD_TASKS_QUEUE_IDYesnest-data-handlerCloud Tasks queue id
HANDLER_SERVICE_BASE_URLYesnoneBase URL for internal Handler Cloud Run service

Secrets (Secret Manager)

SecretRequiredPurpose
WEBHOOKS_API_KEYYesAPI key used by X-API-Key middleware
WEBHOOKS_SENTRY_DSNNoError and trace reporting

Last updated on