Skip to content

Commit b3f080f

Browse files
authored
Update sdk-connection-string.md
Add information on Connection String/iKey security concerns.
1 parent 8fa8e21 commit b3f080f

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 [AAD based authenticated telemetry ingestion options] if you want to protect your AI resource from misuse.
96+
97+
> [!NOTE]
98+
> Application Insights JavaScript SDK requires 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 AAD 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)