File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/service-connector/includes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ await connection.OpenAsync();
76
76
77
77
// for user-assigned managed identity
78
78
// String clientId = System.getenv('AZURE_MYSQL_CLIENTID')
79
- // properties.put("azure.clientId","${YOUR_CLIENT_ID}" );
79
+ // properties.put("azure.clientId", clientId );
80
80
81
81
// For service principal
82
82
// String tenantId = System.getenv('AZURE_MYSQL_TENANTID')
83
83
// String clientId = System.getenv('AZURE_MYSQL_CLIENTID')
84
84
// String clientSecret = System.getenv('AZURE_MYSQL_CLIENTSECRET')
85
- // properties.put("azure.clientId","${YOUR_CLIENT_ID}" );
86
- // properties.put("azure.clientSecret","${YOUR_CLIENT_SECRET}" );
87
- // properties.put("azure.tenantId","${YOUR_TENANT_ID}" );
85
+ // properties.put("azure.clientId", clientId );
86
+ // properties.put("azure.clientSecret", clientSecret );
87
+ // properties.put("azure.tenantId", tenantId );
88
88
89
89
Connection connection = DriverManager.getConnection(url, properties);
90
90
```
You can’t perform that action at this time.
0 commit comments