Skip to content

Commit 33c235c

Browse files
Convert list to tabs in config-based authN doc (#44967)
* Convert list to tabs * Update docs/azure/sdk/authentication/create-token-credentials-from-configuration.md Co-authored-by: alexwolfmsft <[email protected]> * Fix Markdownlint error --------- Co-authored-by: alexwolfmsft <[email protected]>
1 parent 14662f8 commit 33c235c

File tree

1 file changed

+29
-26
lines changed

1 file changed

+29
-26
lines changed

docs/azure/sdk/authentication/create-token-credentials-from-configuration.md

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create token credentials from configuration
33
description: This article describes how to create Microsoft Entra token credentials from configuration files.
44
ms.topic: how-to
55
ms.custom: devx-track-dotnet, engagement-fy23
6-
ms.date: 11/05/2024
6+
ms.date: 02/19/2025
77
---
88

99
# Create Microsoft Entra credential types using configuration files
@@ -68,39 +68,42 @@ You can create both user-assigned and system-assigned managed identities using c
6868

6969
#### User-assigned managed identities
7070

71-
A user-assigned managed identity can be used by providing a client ID, resource ID, or object ID:
71+
A user-assigned managed identity can be used by providing a client ID, resource ID, or object ID.
7272

73-
- **Client ID:**
73+
## [Client ID](#tab/client-id)
7474

75-
```json
76-
{
77-
"credential": "managedidentity",
78-
"clientId": "<clientId>"
79-
}
80-
```
75+
```json
76+
{
77+
"credential": "managedidentity",
78+
"clientId": "<clientId>"
79+
}
80+
```
8181

82-
- **Resource ID:**
82+
## [Resource ID](#tab/resource-id)
8383

84-
```json
85-
{
86-
"credential": "managedidentity",
87-
"managedIdentityResourceId": "<managedIdentityResourceId>"
88-
}
89-
```
84+
```json
85+
{
86+
"credential": "managedidentity",
87+
"managedIdentityResourceId": "<managedIdentityResourceId>"
88+
}
89+
```
9090

91-
The resource ID takes the form `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}`.
91+
The resource ID takes the form:
92+
`/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}`
9293

93-
- **Object ID:**
94+
## [Object ID](#tab/object-id)
95+
96+
```json
97+
{
98+
"credential": "managedidentity",
99+
"managedIdentityObjectId": "<managedIdentityObjectId>"
100+
}
101+
```
94102

95-
```json
96-
{
97-
"credential": "managedidentity",
98-
"managedIdentityObjectId": "<managedIdentityObjectId>"
99-
}
100-
```
103+
> [!IMPORTANT]
104+
> The `managedIdentityObjectId` JSON property is supported in `Microsoft.Extensions.Azure` versions 1.8.0 and later.
101105
102-
> [!IMPORTANT]
103-
> The `managedIdentityObjectId` JSON property is supported in `Microsoft.Extensions.Azure` versions 1.8.0 and later.
106+
---
104107

105108
#### System-assigned managed identities
106109

0 commit comments

Comments
 (0)