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/machine-learning/how-to-connection.md
+21-17Lines changed: 21 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,9 @@ az ml connection create --file my_snowflakedb_connection.yaml
96
96
### Option 2: Override the username and password at the command line
97
97
98
98
```azurecli
99
-
az ml connection create --file my_snowflakedb_connection.yaml --set credentials.username="H4iJ5kL6mN7oP8qR9sT0uV1wX2yZ3a" credentials.password="E3fH4iJ5kL6mN7oP8qR9sT0uV1wX2y"
99
+
az ml connection create --file my_snowflakedb_connection.yaml --set credentials.
100
+
username="<username>" credentials.
101
+
password="<password>"
100
102
```
101
103
102
104
# [Python SDK](#tab/python)
@@ -109,8 +111,8 @@ from azure.ai.ml import MLClient, load_workspace_connection
@@ -271,7 +273,9 @@ az ml connection create --file my_sqldb_connection.yaml
271
273
### Option 2: Override the username and password in YAML file
272
274
273
275
```azurecli
274
-
az ml connection create --file my_sqldb_connection.yaml --set credentials.username="A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u" credentials.password="N7oP8qR9sT0uV1wX2yZ3aB4cD5eF6g"
276
+
az ml connection create --file my_sqldb_connection.yaml --set credentials.
277
+
username="<username>" credentials.
278
+
password="<password>"
275
279
```
276
280
277
281
# [Python SDK](#tab/python)
@@ -284,8 +288,8 @@ from azure.ai.ml import MLClient, load_workspace_connection
0 commit comments