Skip to content

Commit 8266b93

Browse files
add includes
1 parent ed446e8 commit 8266b93

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

articles/azure-signalr/concept-connection-string.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ms.author: kenchen
1212

1313
A connection string contains information about how to connect to Azure SignalR Service. In this article, you learn the basics of connection strings and how to configure one in your application.
1414

15+
[!INCLUDE [Connection string security](includes/signalr-connection-string-security.md)]
16+
1517
## What a connection string is
1618

1719
When an application needs to connect to Azure SignalR Service, it needs the following information:
@@ -192,6 +194,8 @@ Endpoint=https://<resource_name>.service.signalr.net;AccessKey=<access_key>;Serv
192194

193195
## Configure a connection string in your application
194196

197+
[!INCLUDE [Connection string security comment](includes/signalr-connection-string-security-comment.md)]
198+
195199
There are two ways to configure a connection string in your application.
196200

197201
You can set the connection string when calling the `AddAzureSignalR()` API:
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: vicancy
5+
ms.service: azure-signalr-service
6+
ms.topic: include
7+
ms.date: 12/11/2024
8+
ms.author: lianwei
9+
ms.custom: include file
10+
---
11+
12+
Raw connection strings appear in this article for demonstration purposes only. In production environments, always protect your access keys. Use Azure Key Vault to manage and rotate your keys securely and [secure your connection string using Microsoft Entra ID](../concept-connection-string.md#use-microsoft-entra-id).
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: vicancy
5+
ms.service: azure-signalr-service
6+
ms.topic: include
7+
ms.date: 12/11/2024
8+
ms.author: lianwei
9+
ms.custom: include file
10+
---
11+
12+
> [!IMPORTANT]
13+
> Raw connection strings appear in this article for demonstration purposes only.
14+
>
15+
> A connection string includes the authorization information required for your application to access Azure Web PubSub service. The access key inside the connection string is similar to a root password for your service. In production environments, always protect your access keys. Use Azure Key Vault to manage and rotate your keys securely and [secure your connection string using Microsoft Entra ID](../concept-connection-string.md#use-microsoft-entra-id).
16+
>
17+
> Avoid distributing access keys to other users, hard-coding them, or saving them anywhere in plain text that is accessible to others. Rotate your keys if you believe they may have been compromised.

0 commit comments

Comments
 (0)