Skip to content

Commit 030266b

Browse files
authored
Merge pull request #113757 from spelluru/egridauth0504-2
more updates
2 parents 61aecdd + 3e8fe15 commit 030266b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/event-grid/security-authentication.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ The following sections describe how to authenticate event delivery to webhook en
8181
### Using Azure Active Directory (Azure AD)
8282
You can secure your webhook endpoint by using Azure Active Directory (Azure AD) to authenticate and authorize Event Grid to deliver events to your endpoints. You'll need to create an Azure AD Application, create a role and service principle in your application authorizing Event Grid, and configure the event subscription to use the Azure AD Application. [Learn how to configure Azure Active Directory with Event Grid](secure-webhook-delivery.md).
8383

84-
### Using query parameters for the URL
85-
You can secure your webhook endpoint by adding query parameters to the webhook URL when creating an Event Subscription. Set one of these query parameters to be a secret such as an [access token](https://en.wikipedia.org/wiki/Access_token). The webhook can use the secret to recognize the event is coming from Event Grid with valid permissions. Event Grid will include these query parameters in every event delivery to the webhook.
84+
### Using client secret as a query parameter
85+
You can secure your webhook endpoint by adding query parameters to the webhook URL when creating an Event Subscription. Set one of these query parameters to be a client secret such as an [access token](https://en.wikipedia.org/wiki/Access_token) or a shared secret. The webhook can use the secret to recognize the event is coming from Event Grid with valid permissions. Event Grid will include these query parameters in every event delivery to the webhook. If the client secret is updated, event subscription also needs to be updated. To avoid delivery failures during this secret rotation, make the webhook accept both old and new secrets for a limited duration.
8686

87-
When editing the Event Subscription, the query parameters aren't displayed or returned unless the [--include-full-endpoint-url](https://docs.microsoft.com/cli/azure/eventgrid/event-subscription?view=azure-cli-latest#az-eventgrid-event-subscription-show) parameter is used in Azure [CLI](https://docs.microsoft.com/cli/azure?view=azure-cli-latest).
87+
As query parameters could contain client secrets, they are handled with extra care. They are stored as encrypted and not accessible to service operators. They are not logged as part of the service logs/traces. When editing the Event Subscription, the query parameters aren't displayed or returned unless the [--include-full-endpoint-url](https://docs.microsoft.com/cli/azure/eventgrid/event-subscription?view=azure-cli-latest#az-eventgrid-event-subscription-show) parameter is used in Azure [CLI](https://docs.microsoft.com/cli/azure?view=azure-cli-latest).
8888

89-
Finally, it's important to note that Azure Event Grid only supports HTTPS webhook endpoints.
89+
For more information on delivering events to webhooks, see [Webhook event delivery](webhook-event-delivery.md)
9090

91-
> [!NOTE]
92-
> For more information on delivering events to webhooks, see [Webhook event delivery](webhook-event-delivery.md)
91+
> [!IMPORTANT]
92+
Azure Event Grid only supports **HTTPS** webhook endpoints.
9393

9494
## Next steps
9595

0 commit comments

Comments
 (0)