Skip to content

Commit 4a689c5

Browse files
authored
Embedded code file in article
1 parent 5895241 commit 4a689c5

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,30 @@ Deploy an ARM template with the following specific parameters:
113113

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

116-
:::code language="json" source="resources/cross-tenant-customer-managed-keys-sample-template.json" highlight="4-9,19,20":::
116+
```json
117+
{
118+
"kind": "GlobalDocumentDB",
119+
"location": "East US 2",
120+
"identity": {
121+
"type": "UserAssigned",
122+
"userAssignedIdentities": {
123+
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-identity": {}
124+
}
125+
},
126+
"properties": {
127+
"locations": [
128+
{
129+
"locationName": "East US 2",
130+
"failoverPriority": 0,
131+
"isZoneRedundant": false
132+
}
133+
],
134+
"databaseAccountOfferType": "Standard",
135+
"keyVaultKeyUri": "https://my-vault.vault.azure.com/keys/my-key",
136+
"defaultIdentity": "UserAssignedIdentity=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-identity&FederatedClientId=11111111-1111-1111-1111-111111111111"
137+
}
138+
}
139+
```
117140

118141
> [!IMPORTANT]
119142
> This feature is not yet supported in Azure PowerShell, Azure CLI, or the Azure portal.

articles/cosmos-db/resources/cross-tenant-customer-managed-keys-sample-template.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)