Skip to content

Commit 5895241

Browse files
committed
Updated code sample
1 parent 749c1e4 commit 5895241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/how-to-setup-cross-tenant-customer-managed-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Deploy an ARM template with the following specific parameters:
108108
| Parameter | Description | Example value |
109109
| --- | --- | --- |
110110
| `keyVaultKeyUri` | Identifier of the customer-managed key residing in the service provider's key vault. | `https://my-vault.vault.azure.com/keys/my-key` |
111-
| `identity` | Object specifying that the managed identity should be assigned to the Azure Cosmos DB account. | :::code language="json" source="resources/cross-tenant-customer-managed-keys-sample-template.json" range="4-9"::: |
111+
| `identity` | Object specifying that the managed identity should be assigned to the Azure Cosmos DB account. | `"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-identity":{}}}` |
112112
| `defaultIdentity` | Combination of the resource ID of the managed identity and the application ID of the multi-tenant Azure Active Directory application. | `UserAssignedIdentity=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-identity&FederatedClientId=11111111-1111-1111-1111-111111111111` |
113113

114114
Here's an example of a template segment with the three parameters configured:

0 commit comments

Comments
 (0)