You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-signalr/howto-disable-local-auth.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,33 +12,33 @@ ms.topic: conceptual
12
12
13
13
# Disable local (access key) authentication with Azure SignalR Service
14
14
15
-
There are two ways to authenticate to Azure SignalR Service resources: Microsoft Entra ID and Access Key. Microsoft Entra ID offers superior security and ease of use compared to the access key method.
16
-
With Microsoft Entra ID, you do not need to store tokens in your code, reducing the risk of potential security vulnerabilities.
17
-
We highly recommend using Microsoft Entra ID for your Azure SignalR Service resources whenever possible.
15
+
There are two ways to authenticate to Azure SignalR Service resources: Microsoft Entra ID and access key. Microsoft Entra ID offers superior security and ease of use compared to the access key method.
16
+
17
+
With Microsoft Entra ID, you don't need to store tokens in your code, reducing the risk of potential security vulnerabilities. We highly recommend using Microsoft Entra ID for your Azure SignalR Service resources whenever possible.
18
18
19
19
> [!IMPORTANT]
20
-
> Disabling local authentication can have following consequences.
20
+
> Disabling local authentication can have the following consequences:
21
21
>
22
-
> - The current set of access keys will be permanently deleted.
23
-
> - Tokens signed with the current set of access keys will become unavailable.
22
+
> - The current set of access keys is permanently deleted.
23
+
> - Tokens signed with the current set of access keys become unavailable.
24
24
25
-
## Use Azure portal
25
+
## Use the Azure portal
26
26
27
-
In this section, you will learn how to use the Azure portal to disable local authentication.
27
+
In this section, you learn how to use the Azure portal to disable local authentication.
28
28
29
-
1.Navigate to your SignalR Service resource in the [Azure portal](https://portal.azure.com).
29
+
1.In the [Azure portal](https://portal.azure.com), go to your Azure SignalR Service resource.
30
30
31
-
2.in the **Settings** section of the menu sidebar, select **Keys** tab.
31
+
2.In the **Settings** section of the menu sidebar, select **Keys**.
32
32
33
-
3.Select**Disabled** for local authentication.
33
+
3.For**Access Key**, select **Disable**.
34
34
35
-
4.Click**Save** button.
35
+
4.Select the**Save** button.
36
36
37
-

37
+

38
38
39
-
## Use Azure Resource Manager template
39
+
## Use an Azure Resource Manager template
40
40
41
-
You can disable local authentication by setting `disableLocalAuth` property to true as shown in the following Azure Resource Manager template.
41
+
You can disable local authentication by setting the `disableLocalAuth` property to `true`, as shown in the following Azure Resource Manager template:
42
42
43
43
```json
44
44
{
@@ -108,16 +108,16 @@ You can disable local authentication by setting `disableLocalAuth` property to t
108
108
}
109
109
```
110
110
111
-
## Use Azure Policy
111
+
## Use an Azure policy
112
112
113
-
You can assign the [Azure SignalR Service should have local authentication methods disabled](https://ms.portal.azure.com/#view/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2Ff70eecba-335d-4bbc-81d5-5b17b03d498f) Azure policy to an Azure subscription or a resource group to enforce disabling of local authentication for all SignalR resources in the subscription or the resource group.
113
+
To enforce disabling of local authentication for all Azure SignalR Service resources in an Azure subscription or a resource group, you can assign the following Azure policy: [Azure SignalR Service should have local authentication methods disabled](https://ms.portal.azure.com/#view/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2Ff70eecba-335d-4bbc-81d5-5b17b03d498f).
114
114
115
-

115
+

116
116
117
117
## Next steps
118
118
119
-
See the following docs to learn about authentication methods.
119
+
See the following articles to learn about authentication methods:
120
120
121
-
-[Overview of Microsoft Entra ID for SignalR](signalr-concept-authorize-azure-active-directory.md)
122
-
-[Authenticate with Azure applications](./signalr-howto-authorize-application.md)
123
-
-[Authenticate with managed identities](./signalr-howto-authorize-managed-identity.md)
121
+
-[Authorize access with Microsoft Entra ID for Azure SignalR Service](signalr-concept-authorize-azure-active-directory.md)
122
+
-[Authorize requests to Azure SignalR Service resources with Microsoft Entra applications](./signalr-howto-authorize-application.md)
123
+
-[Authorize requests to Azure SignalR Service resources with Microsoft Entra managed identities](./signalr-howto-authorize-managed-identity.md)
0 commit comments