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/batch-inference/how-to-authenticate-batch-endpoint.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The following examples show different ways to start batch deployment jobs using
46
46
47
47
### Running jobs using user's credentials
48
48
49
-
In this case, we want to execute a batch endpoint using the identity of the user currenly logged in. Follow these steps:
49
+
In this case, we want to execute a batch endpoint using the identity of the user currently logged in. Follow these steps:
50
50
51
51
> [!NOTE]
52
52
> When working on Azure ML studio, batch endpoints/deployments are always executed using the identity of the current user logged in.
@@ -91,13 +91,13 @@ In this case, we want to execute a batch endpoint using the identity of the user
91
91
92
92
# [REST](#tab/rest)
93
93
94
-
When working with REST APIs, we recommend to use either a service principal or a managed identity to interact with the API.
94
+
When working with REST APIs, we recommend to using either a service principal or a managed identity to interact with the API.
95
95
96
96
---
97
97
98
98
### Running jobs using a service principal
99
99
100
-
In this case, we want to execute a batch endpoint using a service princpal already created in Azure Active Directory. To complete the authentication, you will have to create a secret to perform the authentication. Follow these steps:
100
+
In this case, we want to execute a batch endpoint using a service principal already created in Azure Active Directory. To complete the authentication, you will have to create a secret to perform the authentication. Follow these steps:
You can use the REST API of Azure Machine Learning to start a batch endpoints job using a managed identity. The steps vary depending on the underlying service being used. Some examples include (but are not limitted to):
229
+
You can use the REST API of Azure Machine Learning to start a batch endpoints job using a managed identity. The steps vary depending on the underlying service being used. Some examples include (but are not limited to):
230
230
231
231
*[Managed identity for Azure Data Factory](../../data-factory/data-factory-service-identity.md)
232
232
*[How to use managed identities for App Service and Azure Functions](../../app-service/overview-managed-identity.md).
233
233
*[How to use managed identities for Azure resources on an Azure VM to acquire an access token](../../active-directory/managed-identities-azure-resources/how-to-use-vm-token.md).
234
234
235
+
You can also use the Azure CLI to get an authentication token for the managed identity and the pass it to the batch endpoints URI.
236
+
235
237
---
236
238
237
239
## Next steps
238
240
239
241
*[Network isolation in batch endpoints](how-to-secure-batch-endpoint.md)
242
+
*[Invoking batch endpoints from Event Grid events in storage](how-to-use-event-grid-batch.md).
243
+
*[Invoking batch endpoints from Azure Data Factory](how-to-use-batch-azure-data-factory.md).
0 commit comments