Skip to content

Commit 76b635e

Browse files
authored
Change to DefaultAzureCredential
1 parent 586c601 commit 76b635e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-debug-managed-online-endpoints-visual-studio-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ from azure.ai.ml.entities import (
115115
CodeConfiguration,
116116
Environment,
117117
)
118-
from azure.identity import AzureCliCredential
118+
from azure.identity import DefaultAzureCredential
119119
```
120120

121121
Set up variables for the workspace and endpoint:
@@ -170,7 +170,7 @@ Azure Machine Learning local endpoints use Docker and VS Code development contai
170170
Get a handle to the workspace:
171171

172172
```python
173-
credential = AzureCliCredential()
173+
credential = DefaultAzureCredential()
174174
ml_client = MLClient(
175175
credential,
176176
subscription_id=subscription_id,

0 commit comments

Comments
 (0)