Skip to content

Commit cb48cf6

Browse files
authored
Merge pull request #190010 from Blackmist/1920164-cli-v2-security
writing
2 parents 6533243 + 00faec8 commit cb48cf6

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

articles/machine-learning/how-to-configure-cli.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.topic: how-to
99

1010
author: lostmygithubaccount
1111
ms.author: copeters
12-
ms.date: 10/21/2021
12+
ms.date: 02/28/2022
1313
ms.reviewer: laobri
1414
ms.custom: devx-track-azurecli, devplatv2
1515
---
@@ -102,6 +102,25 @@ You can show your current defaults using `--list-defaults/-l`:
102102
> [!TIP]
103103
> Combining with `--output/-o` allows for more readable output formats.
104104
105+
## Secure communications
106+
107+
The `ml` CLI extension (sometimes called 'CLI v2') for Azure Machine Learning sends operational data (YAML parameters and metadata) over the public internet. All the `ml` CLI extension commands communicate with the Azure Resource Manager. This communication is secured using HTTPS/TLS 1.2.
108+
109+
> [!NOTE]
110+
> With the previous extension (`azure-cli-ml`, sometimes called 'CLI v1'), only some of the commands communicate with the Azure Resource Manager. Specifically, commands that create, update, delete, list, or show Azure resources. Operations such as submitting a training job communicate directly with the Azure Machine Learning workspace. If your workspace is [secured with a private endpoint](how-to-configure-private-link.md), that is enough to secure commands provided by the `azure-cli-ml` extension.
111+
112+
> [!TIP]
113+
> Data stored in a data store that is secured in a virtual network is _not_ sent over the public internet. For example, if your training data is secured on the default storage account for the workspace, and the storage account is in the virtual network.
114+
115+
You can increase the security of CLI communications with Azure Resource Manager by using Azure Private Link. The following links provide information on using a Private Link for managing Azure resources:
116+
117+
1. [Secure your Azure Machine Learning workspace inside a virtual network using a private endpoint](how-to-configure-private-link.md).
118+
2. [Create a Private Link for managing Azure resources](/azure/azure-resource-manager/management/create-private-link-access-portal).
119+
3. [Create a private endpoint](/azure/azure-resource-manager/management/create-private-link-access-portal#create-private-endpoint) for the Private Link created in the previous step.
120+
121+
> [!IMPORTANT]
122+
> To configure the private link for Azure Resource Manager, you must be the _subscription owner_ for the Azure subscription, and an _owner_ or _contributor_ of the root management group. For more information, see [Create a private link for managing Azure resources](/azure/azure-resource-manager/management/create-private-link-access-portal).
123+
105124
## Next steps
106125

107126
- [Train models using CLI (v2)](how-to-train-cli.md)

0 commit comments

Comments
 (0)