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/applied-ai-services/form-recognizer/managed-identities.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,16 @@ manager: nitinme
7
7
ms.service: applied-ai-services
8
8
ms.subservice: forms-recognizer
9
9
ms.topic: how-to
10
-
ms.date: 10/20/2022
10
+
ms.date: 02/09/2023
11
11
ms.author: lajanuar
12
12
monikerRange: '>=form-recog-2.1.0'
13
13
recommendations: false
14
14
---
15
15
16
16
# Managed identities for Form Recognizer
17
17
18
+
:::image type="content" source="media/managed-identities/rbac-flow.png" alt-text="Screenshot of managed identity flow (RBAC).":::
19
+
18
20
[!INCLUDE [applies to v3.0 and v2.1](includes/applies-to-v3-0-and-v2-1.md)]
19
21
20
22
Managed identities for Azure resources are service principals that create an Azure Active Directory (Azure AD) identity and specific permissions for Azure managed resources:
@@ -28,6 +30,7 @@ Managed identities for Azure resources are service principals that create an Azu
28
30
> [!TIP]
29
31
> Managed identities eliminate the need for you to manage credentials, including Shared Access Signature (SAS) tokens. Managed identities are a safer way to grant access to data without having credentials in your code.
30
32
33
+
31
34
## Private storage account access
32
35
33
36
Private Azure storage account access and authentication are supported by [managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md). If you have an Azure storage account, protected by a Virtual Network (VNet) or firewall, Form Recognizer can't directly access your storage account data. However, once a managed identity is enabled, Form Recognizer can access your storage account using an assigned managed identity credential.
@@ -40,13 +43,13 @@ Managed identities for Azure resources are service principals that create an Azu
40
43
41
44
## Prerequisites
42
45
43
-
To get started, you'll need:
46
+
To get started, you need:
44
47
45
48
* An active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/)—if you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
46
49
47
50
* A [**Form Recognizer**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) or [**Cognitive Services**](https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne) resource in the Azure portal. For detailed steps, _see_[Create a Cognitive Services resource using the Azure portal](../../cognitive-services/cognitive-services-apis-create-account.md?tabs=multiservice%2cwindows).
48
51
49
-
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Form Recognizer resource. You'll create containers to store and organize your blob data within your storage account.
52
+
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Form Recognizer resource. You also need to create containers to store and organize your blob data within your storage account.
50
53
51
54
* If your storage account is behind a firewall, **you must enable the following configuration**: </br></br>
52
55
@@ -67,9 +70,9 @@ There are two types of managed identity: **system-assigned** and **user-assigned
67
70
68
71
* A system-assigned managed identity is **enabled** directly on a service instance. It isn't enabled by default; you must go to your resource and update the identity setting.
69
72
70
-
* The system-assigned managed identity is tied to your resource throughout its lifecycle. If you delete your resource, the managed identity will be deleted as well.
73
+
* The system-assigned managed identity is tied to your resource throughout its lifecycle. If you delete your resource, the managed identity is deleted as well.
71
74
72
-
In the following steps, we'll enable a system-assigned managed identity and grant Form Recognizer limited access to your Azure blob storage account.
75
+
In the following steps, we enable a system-assigned managed identity and grant Form Recognizer limited access to your Azure blob storage account.
73
76
74
77
## Enable a system-assigned managed identity
75
78
@@ -95,7 +98,7 @@ You need to grant Form Recognizer access to your storage account before it can c
1.An Azure role assignments page will open. Choose your subscription from the drop-down menu then select **+ Add role assignment**.
101
+
1.On the Azure role assignments page that opens, choose your subscription from the drop-down menu then select **+ Add role assignment**.
99
102
100
103
:::image type="content" source="media/managed-identities/azure-role-assignments-page-portal.png" alt-text="Screenshot: Azure role assignments page in the Azure portal.":::
Copy file name to clipboardExpand all lines: articles/cognitive-services/Translator/document-translation/how-to-guides/create-use-managed-identities.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,14 @@ manager: nitinme
7
7
ms.service: cognitive-services
8
8
ms.subservice: translator-text
9
9
ms.topic: how-to
10
-
ms.date: 12/17/2022
10
+
ms.date: 02/09/2023
11
11
ms.author: lajanuar
12
12
---
13
13
14
14
# Managed identities for Document Translation
15
15
16
+
:::image type="content" source="../media/managed-identity-rbac-flow.png" alt-text="Screenshot of managed identity flow (RBAC).":::
17
+
16
18
> [!IMPORTANT]
17
19
>
18
20
> * Currently, Document Translation doesn't support managed identity in the global region. If you intend to use managed identities for Document Translation operations, [create your Translator resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) in a non-global Azure region.
@@ -24,7 +26,7 @@ Managed identities for Azure resources are service principals that create an Azu
24
26
25
27
* You can use managed identities to grant access to any resource that supports Azure AD authentication, including your own applications. Managed identities eliminate the need for you to include shared access signature tokens (SAS) with your HTTP requests.
26
28
27
-
* To grant access to an Azure resource, you'll assign an Azure role to a managed identity using [Azure role-based access control (`Azure RBAC`)](../../../../role-based-access-control/overview.md).
29
+
* To grant access to an Azure resource, assign an Azure role to a managed identity using [Azure role-based access control (`Azure RBAC`)](../../../../role-based-access-control/overview.md).
28
30
29
31
* There's no added cost to use managed identities in Azure.
30
32
@@ -34,16 +36,18 @@ Managed identities for Azure resources are service principals that create an Azu
34
36
>
35
37
> * Managed identities are a safer way to grant access to data without having SAS tokens included with your HTTP requests.
36
38
39
+
37
40
## Prerequisites
38
-
To get started, you'll need:
41
+
42
+
To get started, you need:
39
43
40
44
* An active [**Azure account**](https://azure.microsoft.com/free/cognitive-services/)—if you don't have one, you can [**create a free account**](https://azure.microsoft.com/free/).
41
45
42
46
* A [**single-service Translator**](https://portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation) (not a multi-service Cognitive Services) resource assigned to a **non-global** region. For detailed steps, _see_[Create a Cognitive Services resource using the Azure portal](../../../cognitive-services-apis-create-account.md?tabs=multiservice%2cwindows).
43
47
44
48
* A brief understanding of [**Azure role-based access control (`Azure RBAC`)**](../../../../role-based-access-control/role-assignments-portal.md) using the Azure portal.
45
49
46
-
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Translator resource. You'll create containers to store and organize your blob data within your storage account.
50
+
* An [**Azure blob storage account**](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM) in the same region as your Translator resource. You also need to create containers to store and organize your blob data within your storage account.
47
51
48
52
***If your storage account is behind a firewall, you must enable the following configuration**: </br>
49
53
@@ -63,9 +67,9 @@ There are two types of managed identities: **system-assigned** and **user-assign
63
67
64
68
* A system-assigned managed identity is **enabled** directly on a service instance. It isn't enabled by default; you must go to your resource and update the identity setting.
65
69
66
-
* The system-assigned managed identity is tied to your resource throughout its lifecycle. If you delete your resource, the managed identity will be deleted as well.
70
+
* The system-assigned managed identity is tied to your resource throughout its lifecycle. If you delete your resource, the managed identity is deleted as well.
67
71
68
-
In the following steps, we'll enable a system-assigned managed identity and grant your Translator resource limited access to your Azure blob storage account.
72
+
In the following steps, we enable a system-assigned managed identity and grant your Translator resource limited access to your Azure blob storage account.
69
73
70
74
## Enable a system-assigned managed identity
71
75
@@ -93,7 +97,7 @@ The **Storage Blob Data Contributor** role gives Translator (represented by the
1.An Azure role assignments page will open. Choose your subscription from the drop-down menu then select **+ Add role assignment**.
100
+
1.On the Azure role assignments page that opened, choose your subscription from the drop-down menu then select **+ Add role assignment**.
97
101
98
102
:::image type="content" source="../../media/managed-identities/azure-role-assignments-page-portal.png" alt-text="Screenshot: Azure role assignments page in the Azure portal.":::
99
103
@@ -124,11 +128,11 @@ The **Storage Blob Data Contributor** role gives Translator (represented by the
124
128
125
129
* A batch Document Translation request is submitted to your Translator service endpoint via a POST request.
126
130
127
-
* With managed identity and `Azure RBAC`, you'll no longer need to include SAS URLs.
131
+
* With managed identity and `Azure RBAC`, you no longer need to include SAS URLs.
128
132
129
133
* If successful, the POST method returns a `202 Accepted` response code and the batch request is created by the service.
130
134
131
-
* The translated documents will appear in your target container.
135
+
* The translated documents appear in your target container.
0 commit comments