Skip to content

Commit 459820b

Browse files
authored
Merge pull request #95819 from ramthi/patch-6
Update sdk-connection-string.md
2 parents fd16a72 + 099d786 commit 459820b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/azure-monitor/app/sdk-connection-string.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ See also: [Regions that require endpoint modification](./custom-endpoints.md#reg
9090
- [Profiler](./profiler-overview.md): `profiler`
9191
- [Snapshot](./snapshot-debugger.md): `snapshot`
9292

93+
#### Is Connection string a secret?
9394

95+
Connection string contains iKey which is a unique identifier used by the ingestion service to associate telemetry to a specific Application Insights resource. It is not to be considered a security token or key. The ingestion endpoint provides Azure AD-based authenticated telemetry ingestion options if you want to protect your AI resource from misuse.
96+
97+
> [!NOTE]
98+
> Application Insights JavaScript SDK requires the connection string to be passed in during initialization/configuration. This is viewable in plain text in client browsers. There is no easy way to use the Azure AD-based authentication for browser telemetry. It is recommended that customers consider creating a separate Application Insights resource for browser telemetry if they need to secure the service telemetry.
9499
95100
## Connection string examples
96101

@@ -297,4 +302,4 @@ Get started at development time with:
297302
* [ASP.NET Core](./asp-net-core.md)
298303
* [Java](./java-in-process-agent.md)
299304
* [Node.js](./nodejs.md)
300-
* [Python](./opencensus-python.md)
305+
* [Python](./opencensus-python.md)

0 commit comments

Comments
 (0)