Skip to content

Commit c796718

Browse files
committed
Event Grid SAS key length
1 parent 9381877 commit c796718

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

articles/event-grid/get-access-keys.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,21 @@
22
title: Get access key for an Event Grid resource
33
description: This article describes how to get access key for an Event Grid topic or domain
44
ms.topic: how-to
5-
ms.date: 07/07/2020
5+
ms.date: 06/17/2024
66
ms.custom: devx-track-azurepowershell, devx-track-azurecli
77
ms.devlang: azurecli
88
---
99

1010
# Get access keys for Event Grid resources (topics or domains)
11-
Access keys are used to authenticate an application publishing events to Azure Event Grid resources (topics and domains). We recommend regenerating your keys regularly and storing them securely. You are provided with two access keys so that you can maintain connections using one key while regenerating the other.
11+
Access keys are used to authenticate an application publishing events to Azure Event Grid resources (topics and domains). We recommend regenerating your keys regularly and storing them securely. You're provided with two access keys so that you can maintain connections using one key while regenerating the other.
1212

1313
This article describes how to get access keys for an Event Grid resource (topic or domain) using Azure portal, PowerShell, or CLI.
1414

15+
> [!IMPORTANT]
16+
> From August 1, 2024 to August 10, 2024, Azure Event Grid will rollout a security improvement extending the Shared Access Signature (SAS) key length from 44 to 84 characters. This change is being made to strengthen the security of your data in Event Grid resources. The change doesn't impact any application or service that currently publishes events to Event Grid with the old SAS key but it may impact only if you regenerate the SAS key of your Event Grid topics, domains, namespaces, and partner topics, after the update.
17+
>
18+
> We recommend that you regenerate your SAS key on or after August 11, 2024. After regenerating the key, update any event publishing applications or services that use the old key to use the enhanced SAS key.
19+
1520
## Azure portal
1621
In the Azure portal, switch to **Access keys** tab of the **Event Grid Topic** or **Event Grid Domain** page for your topic or domain.
1722

@@ -31,13 +36,13 @@ Get-AzEventGridDomainKey -ResourceGroup <RESOURCE GROUP NAME> -Name <DOMAIN NAME
3136
```
3237

3338
## Azure CLI
34-
Use the [az eventgrid topic key list](/cli/azure/eventgrid/topic/key#az-eventgrid-topic-key-list) to get access keys for topics.
39+
Use the [`az eventgrid topic key list`](/cli/azure/eventgrid/topic/key#az-eventgrid-topic-key-list) to get access keys for topics.
3540

3641
```azurecli-interactive
3742
az eventgrid topic key list --resource-group <RESOURCE GROUP NAME> --name <TOPIC NAME>
3843
```
3944

40-
Use [az eventgrid domain key list](/cli/azure/eventgrid/domain/key#az-eventgrid-domain-key-list) to get access keys for domains.
45+
Use [`az eventgrid domain key list`](/cli/azure/eventgrid/domain/key#az-eventgrid-domain-key-list) to get access keys for domains.
4146

4247
```azurecli-interactive
4348
az eventgrid domain key list --resource-group <RESOURCE GROUP NAME> --name <DOMAIN NAME>

0 commit comments

Comments
 (0)