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/service-connector/how-to-integrate-cosmos-db.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The table below shows which combinations of client types and authentication meth
39
39
This table indicates that all combinations of client types and authentication methods in the table are supported, except for the Java - Spring Boot client type, which only supports the Secret / connection string method. All other client types can use any of the authentication methods to connect to Azure Cosmos DB for MongoDB using Service Connector.
40
40
41
41
> [!NOTE]
42
-
> Managed identities can be used to list connection strings and connect to Cosmos DB. However, Cosmos DB doesn't natively support authentication via managed identity.
42
+
> Since Cosmos DB doesn't natively support authentication via managed identity, Service Connector uses the managed identity to list the connection string, and the connection is then made using the connection string.
43
43
44
44
## Default environment variable names or application properties and sample code
45
45
@@ -57,7 +57,7 @@ Use the connection details below to connect compute services to Azure Cosmos DB.
57
57
58
58
Refer to the steps and code below to connect to Azure Cosmos DB for MongoDB using a system-assigned managed identity.
59
59
60
-
The system-assigned managed identitycode sample uses a managed identity to list the connection string and connect to Cosmos DB. However, Cosmos DB doesn't natively support authentication via managed identity.
60
+
Since Cosmos DB doesn't natively support authentication via managed identity, in the following code sample, we use the managed identity to list the connection string, and then connect using the connection string.
61
61
62
62
[!INCLUDE [code sample for mongo](./includes/code-cosmosmongo-me-id.md)]
63
63
@@ -74,7 +74,7 @@ The system-assigned managed identity code sample uses a managed identity to list
74
74
75
75
Refer to the steps and code below to connect to Azure Cosmos DB for MongoDB using a user-assigned managed identity.
76
76
77
-
The user-assigned-assigned managed identitycode sample uses a managed identity to list the connection string and connect to Cosmos DB. However, Cosmos DB doesn't natively support authentication via managed identity.
77
+
Since Cosmos DB doesn't natively support authentication via managed identity, in the following code sample, we use the managed identity to list the connection string, and then connect using the connection string.
78
78
79
79
[!INCLUDE [code sample for mongo](./includes/code-cosmosmongo-me-id.md)]
0 commit comments