Skip to content

Commit 240d6c9

Browse files
authored
updated to include MSI CI support
1 parent 8341589 commit 240d6c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/machine-learning/v1/how-to-setup-authentication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Learn how to set up authentication to your Azure Machine Learning workspace. Aut
2929

3030
* __Azure CLI session__: You use an active Azure CLI session to authenticate. Azure CLI authentication is used during _experimentation and iterative development_, or when you need an _automated process to authenticate_ to the service using a pre-authenticated session. You can log in to Azure via the Azure CLI on your local workstation, without storing credentials in Python code or prompting the user to authenticate. Similarly, you can reuse the same scripts as part of continuous integration and deployment pipelines, while authenticating the Azure CLI with a service principal identity.
3131

32-
* __Managed identity__: When using the Azure Machine Learning SDK _on an Azure Virtual Machine_, you can use a managed identity for Azure. This workflow allows the VM to connect to the workspace using the managed identity, without storing credentials in Python code or prompting the user to authenticate. Azure Machine Learning compute clusters can also be configured to use a managed identity to access the workspace when _training models_.
32+
* __Managed identity__: When using the Azure Machine Learning SDK _on an Azure Virtual Machine_, you can use a managed identity for Azure. This workflow allows the VM to connect to the workspace using the managed identity, without storing credentials in Python code or prompting the user to authenticate. Azure Machine Learning compute clusters and compute instances can also be configured to use a managed identity to access the workspace when _training models_.
3333

3434
Regardless of the authentication workflow used, Azure role-based access control (Azure RBAC) is used to scope the level of access (authorization) allowed to the resources. For example, an admin or automation process might have access to create a compute instance, but not use it, while a data scientist could use it, but not delete or create it. For more information, see [Manage access to Azure Machine Learning workspace](../how-to-assign-roles.md).
3535

@@ -129,7 +129,7 @@ The easiest way to create an SP and grant access to your workspace is by using t
129129
## Configure a managed identity
130130
131131
> [!IMPORTANT]
132-
> Managed identity is only supported when using the Azure Machine Learning SDK from an Azure Virtual Machine or with an Azure Machine Learning compute cluster.
132+
> Managed identity is only supported when using the Azure Machine Learning SDK from an Azure Virtual Machine or with an Azure Machine Learning compute cluster or compute instance.
133133
134134
### Managed identity with a VM
135135
@@ -238,7 +238,7 @@ ws.get_details()
238238

239239
## Use managed identity authentication
240240

241-
To authenticate to the workspace from a VM or compute cluster that is configured with a managed identity, use the `MsiAuthentication` class. The following example demonstrates how to use this class to authenticate to a workspace:
241+
To authenticate to the workspace from a VM, compute cluster, or compute instance that is configured with a managed identity, use the `MsiAuthentication` class. The following example demonstrates how to use this class to authenticate to a workspace:
242242

243243
```python
244244
from azureml.core.authentication import MsiAuthentication
@@ -261,4 +261,4 @@ can require two-factor authentication, or allow sign in only from managed device
261261

262262
* [How to use secrets in training](../how-to-use-secrets-in-runs.md).
263263
* [How to configure authentication for models deployed as a web service](how-to-authenticate-web-service.md).
264-
* [Consume an Azure Machine Learning model deployed as a web service](how-to-consume-web-service.md).
264+
* [Consume an Azure Machine Learning model deployed as a web service](how-to-consume-web-service.md).

0 commit comments

Comments
 (0)