docs(webhook): describe BUNYIP_WEBHOOK_SECRET as service-wide, not per-Application #424
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-server!424
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/BUNYIP-332-correct-webhook-secret-comment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bunyip does not have a
webhook_secretcolumn on itsapplicationsmodel. Every outbound webhook - account_deleted, maintenance_change, active_change - is signed by a single service-wide HMAC-SHA256 secret held by bunyip-api'sWebhookService::new(signing_secret). Prior comments here described this as "the same per-app registry row in Bunyip's applications table", which sent an operator or triaging engineer looking for a row that does not exist.Correct the two related comments (the AppConfig field doc and the resolve_secret call site) to describe the actual shape and point at bunyip-api's
BUNYIP_WEBHOOK_SIGNING_SECRET(BUNYIP-332), which is the env var that holds the matching value on the sending side. Comment-only; no behavior change.#BUNYIP-332
77adaae83b6a8037a23d