Skip to content

Commit 11e90bc

Browse files
authored
Merge pull request #302174 from lb4368/nosp
Remove references to clusterServicePrincipal from Nexus docs
2 parents 4010d6d + 2d96743 commit 11e90bc

11 files changed

+1202
-1351
lines changed

articles/operator-nexus/.openpublishing.redirection.operator-nexus.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@
8484
"source_path": "howto-cluster-runtime-upgrade-with-pauserack-strategy.md",
8585
"redirect_url": "howto-cluster-runtime-upgrade-with-pauseafterrack-strategy",
8686
"redirect_document_id": false
87+
},
88+
{
89+
"source_path": "howto-service-principal-rotation.md",
90+
"redirect_url": "/azure/operator-nexus",
91+
"redirect_document_id": false
92+
},
93+
{
94+
"source_path": "howto-service-principal.md",
95+
"redirect_url": "/azure/operator-nexus",
96+
"redirect_document_id": false
8797
}
8898
]
8999
}

articles/operator-nexus/TOC.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,6 @@
345345
href: howto-configure-acls-for-ssh-management-on-access-vpn.md
346346
- name: Enable/Disable Vulnerability Scanning
347347
href: howto-enable-disable-vulnerability-scanning.md
348-
- name: Service Principal Best Practices
349-
href: howto-service-principal.md
350-
expanded: false
351-
items:
352-
- name: Service Principal Rotation
353-
href: howto-service-principal-rotation.md
354348
- name: Install CLI Extension
355349
href: howto-install-cli-extensions.md
356350
- name: General

articles/operator-nexus/cluster-jsonc-example.md

Lines changed: 86 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: bartpinto
55
ms.author: bpinto
66
ms.service: azure-operator-nexus
77
ms.topic: how-to
8-
ms.date: 03/31/2025
8+
ms.date: 07/21/2025
99
ms.custom: template-how-to, devx-track-arm-template
1010
---
1111

@@ -45,11 +45,32 @@ ms.custom: template-how-to, devx-track-arm-template
4545
"managedResourceGroupName": {
4646
"type": "string",
4747
"metadata": {
48-
"description": "Specify a Managed Resource Group for the Resource."
48+
"description": "Managed Resource Group for the Resource."
4949
}
5050
},
51-
"clusterLawName": {
52-
"type": "string"
51+
"assignedIdentity": {
52+
"type": "string",
53+
"metadata": {
54+
"description": "Managed identity resource ID for the Cluster."
55+
}
56+
},
57+
"analyticsWorkspaceId": {
58+
"type": "string",
59+
"metadata": {
60+
"description": "Log Analytics Workspace and Managed Identity resource IDs for the Cluster."
61+
}
62+
},
63+
"containerUrl": {
64+
"type": "string",
65+
"metadata": {
66+
"description": "Storage Account URL for Cluster command output."
67+
}
68+
},
69+
"vaultUri": {
70+
"type": "string",
71+
"metadata": {
72+
"description": "KeyVault Uri for Cluster"
73+
}
5374
},
5475
"networkFabricId": {
5576
"type": "string",
@@ -96,25 +117,6 @@ ms.custom: template-how-to, devx-track-arm-template
96117
"metadata": {
97118
"description": "Compute Rack definitions"
98119
}
99-
},
100-
"clusterServicePrincipal": {
101-
"type": "secureobject",
102-
"metadata": {
103-
"description": "Service principal account details used by the cluster to install the Arc Appliance. This field is needed in the near-term for Arc enrollment."
104-
}
105-
},
106-
"keyVaultId": {
107-
"type": "string",
108-
"metadata": {
109-
"description": "Secret KeyVault for credential rotation"
110-
}
111-
},
112-
"useKeyVault":{
113-
"type": "string",
114-
"metadata": {
115-
"description": "The indicator if the specified key vault should be used to archive the secrets of the cluster"
116-
},
117-
"defaultValue": "True"
118120
}
119121
},
120122
"variables": {},
@@ -155,11 +157,26 @@ ms.custom: template-how-to, devx-track-arm-template
155157
"description": "Location of Cluster Resource"
156158
}
157159
},
160+
"assignedIdentity": {
161+
"type": "string",
162+
"metadata": {
163+
"description": "Managed identity resource ID for the Cluster."
164+
}
165+
},
158166
"analyticsWorkspaceId": {
159-
"type": "string"
167+
"type": "string",
168+
"metadata": {
169+
"description": "Log Analytics Workspace and Managed Identity resource IDs for the Cluster."
170+
}
160171
},
161-
"clusterLawName": {
162-
"type": "string"
172+
"analyticsOutputSettings": {
173+
"type": "object"
174+
},
175+
"secretArchiveSettings": {
176+
"type": "object"
177+
},
178+
"commandOutputSettings": {
179+
"type": "object"
163180
},
164181
"resourceGroupName": {
165182
"type": "string"
@@ -210,73 +227,40 @@ ms.custom: template-how-to, devx-track-arm-template
210227
"description": "Compute Rack definitions"
211228
}
212229
},
213-
"clusterServicePrincipal": {
214-
"type": "secureobject",
215-
"metadata": {
216-
"description": "Service principal account details used by the cluster to install the Arc Appliance. This field is needed in the near-term for Arc enrollment."
217-
}
218-
},
219230
"managedResourceGroupConfiguration": {
220231
"type": "object"
221-
},
222-
"keyVaultId": {
223-
"type": "string",
224-
"metadata": {
225-
"description": "Secret KeyVault for credential rotation"
226-
}
227-
},
228-
"useKeyVault": {
229-
"type": "string",
230-
"metadata": {
231-
"description": "The indicator if the specified key vault should be used to archive the secrets of the cluster"
232-
},
233-
"defaultValue": "True"
234232
}
235233
},
236234
"variables": {},
237235
"resources": [
238236
{
239-
"type": "Microsoft.OperationalInsights/workspaces",
240-
"apiVersion": "2021-12-01-preview",
241-
"name": "[parameters('clusterLawName')]",
242-
"location": "[parameters('location')]",
243-
"properties": {
244-
"sku": {
245-
"name": "pergb2018"
246-
},
247-
"retentionInDays": 120,
248-
"features": {
249-
"enableLogAccessUsingOnlyResourcePermissions": true
250-
}
251-
}
252-
},
253-
{
254-
"dependsOn": [
255-
"[resourceId('Microsoft.OperationalInsights/workspaces/', parameters('clusterLawName'))]"
256-
],
257237
"type": "Microsoft.NetworkCloud/clusters",
258-
"apiVersion": "2024-07-01",
238+
"apiVersion": "2025-02-01",
259239
"name": "[parameters('name')]",
260240
"location": "[parameters('location')]",
261241
"tags": {},
242+
"identity": {
243+
"type": "UserAssigned",
244+
"userAssignedIdentities": {
245+
"[parameters('assignedIdentity')]": {}
246+
}
247+
},
262248
"extendedLocation": {
263249
"name": "[parameters('customLocation')]",
264250
"type": "CustomLocation"
265251
},
266252
"properties": {
267-
"analyticsWorkspaceId": "[parameters('analyticsWorkspaceId')]",
268253
"networkFabricId": "[parameters('networkFabricId')]",
269254
"clusterType": "[parameters('clusterType')]",
270255
"clusterVersion": "[parameters('clusterVersion')]",
271256
"clusterLocation": "[parameters('clusterLocation')]",
257+
"analyticsWorkspaceId": "[parameters('analyticsWorkspaceId')]",
272258
"aggregatorOrSingleRackDefinition": "[parameters('aggregatorOrSingleRack')]",
273259
"computeRackDefinitions": "[parameters('computeRacks')]",
274-
"clusterServicePrincipal": "[parameters('clusterServicePrincipal')]",
275260
"managedResourceGroupConfiguration": "[parameters('managedResourceGroupConfiguration')]",
276-
"secretArchive": {
277-
"keyVaultId": "[parameters('keyVaultId')]",
278-
"useKeyVault": "[parameters('useKeyVault')]"
279-
}
261+
"analyticsOutputSettings": "[parameters('analyticsOutputSettings')]",
262+
"secretArchiveSettings": "[parameters('secretArchiveSettings')]",
263+
"commandOutputSettings": "[parameters('commandOutputSettings')]"
280264
}
281265
}
282266
],
@@ -286,18 +270,12 @@ ms.custom: template-how-to, devx-track-arm-template
286270
"environment": {
287271
"value": "[parameters('environment')]"
288272
},
289-
"analyticsWorkspaceId": {
290-
"value": "[concat(subscription().id, '/resourceGroups/', parameters('resourceGroupName'), '/providers/Microsoft.OperationalInsights/workspaces/', parameters('clusterLawName'))]"
291-
},
292273
"name": {
293274
"value": "[parameters('name')]"
294275
},
295276
"location": {
296277
"value": "[parameters('location')]"
297278
},
298-
"clusterLawName": {
299-
"value": "[parameters('clusterLawName')]"
300-
},
301279
"resourceGroupName": {
302280
"value": "[parameters('resourceGroupName')]"
303281
},
@@ -307,6 +285,12 @@ ms.custom: template-how-to, devx-track-arm-template
307285
"name": "[parameters('managedResourceGroupName')]"
308286
}
309287
},
288+
"assignedIdentity": {
289+
"value": "[parameters('assignedIdentity')]"
290+
},
291+
"analyticsWorkspaceId": {
292+
"value": "[parameters('analyticsWorkspaceId')]"
293+
},
310294
"networkFabricId": {
311295
"value": "[parameters('networkFabricId')]"
312296
},
@@ -325,17 +309,35 @@ ms.custom: template-how-to, devx-track-arm-template
325309
"aggregatorOrSingleRack": {
326310
"value": "[parameters('aggregatorOrSingleRack')]"
327311
},
328-
"computeRacks": {
329-
"value": "[parameters('computeRacks')]"
312+
"analyticsOutputSettings": {
313+
"value": {
314+
"analyticsWorkspaceId": "[parameters('analyticsWorkspaceId')]",
315+
"associatedIdentity": {
316+
"identityType": "UserAssignedIdentity",
317+
"userAssignedIdentityResourceId": "[parameters('assignedIdentity')]"
318+
}
319+
}
330320
},
331-
"clusterServicePrincipal": {
332-
"value": "[parameters('clusterServicePrincipal')]"
321+
"commandOutputSettings": {
322+
"value": {
323+
"containerUrl": "[parameters('containerUrl')]",
324+
"associatedIdentity": {
325+
"identityType": "UserAssignedIdentity",
326+
"userAssignedIdentityResourceId": "[parameters('assignedIdentity')]"
327+
}
328+
}
333329
},
334-
"keyVaultId": {
335-
"value": "[parameters('keyVaultId')]"
330+
"secretArchiveSettings": {
331+
"value": {
332+
"vaultUri": "[parameters('vaultUri')]",
333+
"associatedIdentity": {
334+
"identityType": "UserAssignedIdentity",
335+
"userAssignedIdentityResourceId": "[parameters('assignedIdentity')]"
336+
}
337+
}
336338
},
337-
"useKeyVault": {
338-
"value": "[parameters('useKeyVault')]"
339+
"computeRacks": {
340+
"value": "[parameters('computeRacks')]"
339341
}
340342
}
341343
}

0 commit comments

Comments
 (0)