-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add webhook auth for Event Grid webhooks, and local infra
This PR adds support for a shared secret that gets sent with webhook HTTP requests, so that we can validate they came from Azure. It also adds local support for testing webhooks, which works something like: 1. Developer starts a local server with `--with_public_endpoint=XYZ` 2. Script checks if `local-webhook-XYZ` already exists 3. If not, asks user if they want to create one 4. If yes, waits for server to start (needed for verification to succeed), then creates the webhook
- Loading branch information
Showing
4 changed files
with
91 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters