Skip to content

Commit 43393ef

Browse files
committed
update code sample to reflect managed identity
1 parent 875edd1 commit 43393ef

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

articles/cognitive-services/Translator/document-translation/how-to-guides/create-use-glossaries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.topic: how-to
55
manager: nitinme
66
ms.author: lajanuar
77
author: laujan
8-
ms.date: 03/14/2023
8+
ms.date: 03/16/2023
99
---
1010

1111
# Use glossaries with Document Translation

articles/cognitive-services/Translator/document-translation/how-to-guides/create-use-managed-identities.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,24 @@ manager: nitinme
77
ms.service: cognitive-services
88
ms.subservice: translator-text
99
ms.topic: how-to
10-
ms.date: 02/09/2023
10+
ms.date: 03/16/2023
1111
ms.author: lajanuar
1212
---
1313

1414
# Managed identities for Document Translation
1515

1616
Managed identities for Azure resources are service principals that create an Azure Active Directory (Azure AD) identity and specific permissions for Azure managed resources:
1717

18+
:::image type="content" source="../media/managed-identity-rbac-flow.png" alt-text="Screenshot of managed identity flow (RBAC).":::
19+
1820
* 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.
1921

2022
* 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).
2123

2224
* There's no added cost to use managed identities in Azure.
2325

24-
**Create a managed identity for storage access**
2526

26-
:::image type="content" source="../media/managed-identity-rbac-flow.png" alt-text="Screenshot of managed identity flow (RBAC).":::
27+
2728

2829
> [!IMPORTANT]
2930
>
@@ -128,7 +129,7 @@ The **Storage Blob Data Contributor** role gives Translator (represented by the
128129

129130
* With managed identity and `Azure RBAC`, you no longer need to include SAS URLs.
130131

131-
* If successful, the POST method returns a `202 Accepted` response code and the batch request is created by the service.
132+
* If successful, the POST method returns a `202 Accepted` response code and the service creates a batch request.
132133

133134
* The translated documents appear in your target container.
134135

0 commit comments

Comments
 (0)