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
// Open a connection to Azure SQL using a managed identity with mssql package
583
-
// mssql reads the environment variables to get the managed identity
583
+
// Open a connection to Azure SQL using a managed identity with mssql package.
584
+
// mssql reads the environment variables to get the managed identity.
584
585
const server = process.env.AZURE_SQL_SERVER;
585
586
const database = process.env.AZURE_SQL_DATABASE;
586
587
const port = parseInt(process.env.AZURE_SQL_PORT);
@@ -603,7 +604,7 @@ public class ExampleService {
603
604
604
605
---
605
606
606
-
You can also associate a user-assigned managed identity and a system-assigned managed identity to a resource simultaneously. This can be useful in scenarios where all of the apps require access to the same shared services, but one of the apps also has a very specific dependency on an additional service. Using a system-assigned identity also ensures that the identity tied to that specific app is deleted when the app is deleted, which can help keep your environment clean.
607
+
You can also associate a user-assigned managed identity and a system-assigned managed identity to a resource simultaneously. This can be useful in scenarios where all of the apps require access to the same shared services, but one of the apps also has a very specific dependency on an additional service. Using a system-assigned managed identity also ensures that the identity tied to that specific app is deleted when the app is deleted, which can help keep your environment clean.
0 commit comments