MESHAGENT_WEBHOOK_SECRET
environment variable. MeshAgent will use this secret to verify that incoming webhook requests are valid.
"/"
— Returns an HTTP 200 response for any request. (Useful for health checks in hosting environments like Cloud Run.)"/webhook"
— The main endpoint that verifies incoming requests using the secret and then processes valid webhook payloads.MESHAGENT_WEBHOOK_SECRET
in your environment, MeshAgent signs each webhook request. This allows the built-in server (and your custom logic) to verify the authenticity of incoming requests—helping protect you from malicious or unintended calls.
Why you might want this:
MESHAGENT_WEBHOOK_SECRET
variable, the server will look for the standard environment variables for meshagent API keys and project settings. You can find these values in the settings of your project by viewing an existing API key or creating a new one.
Why you might want this:
MESHAGENT_WEBHOOK_SECRET
in a secure storage solution (e.g., AWS Secrets Manager, GCP Secret Manager, or environment variables in a locked-down environment).