You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-create-cluster-with-user-assigned-managed-identity.md
+43-15Lines changed: 43 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Azure Operator Nexus: Create Cluster Resource with User Assigned Managed Identity"
2
+
title: "Azure Operator Nexus: Create Cluster Resource with a Managed Identity"
3
3
description: Create Clusters using the User Assigned Managed Identity to access the Log Analytics Workspace
4
4
author: troy0820
5
5
ms.author: troyconnor
@@ -10,9 +10,9 @@ ms.custom: template-how-to
10
10
---
11
11
12
12
13
-
# Create a Cluster Resource with a User Assigned Managed Identity
13
+
# Create a Cluster Resource with a Managed Identity
14
14
15
-
To create a cluster without a service principal user name and password, you can now create a cluster with a user-assigned managed identity that has permissions over the Log Analytics Workspace. This will be used when installing the extensions that utilize the Log Analytics Workspace.
15
+
To create a cluster without a service principal user name and password, you can now create a cluster with a user-assigned managed identity or a system-assigned managed identity that has permissions over the Log Analytics Workspace. This will be used when validating the hardware during hardware validation and when installing the extensions that utilize the Log Analytics Workspace.
### View the principal ID for the managed identity
49
+
### View the principal ID for the user-assigned managed identity
49
50
50
51
The identity resource ID can be found by selecting "JSON view" on the identity resource; the ID is at the top of the panel that appears. The container URL can be found on the Settings -> Properties tab of the container resource.
51
52
@@ -57,19 +58,9 @@ Example:
57
58
az networkcloud cluster show --ids /subscriptions/<Subscription ID>/resourceGroups/<Cluster Resource Group Name>/providers/Microsoft.NetworkCloud/clusters/<Cluster Name>
### Create and configure Log Analytics Workspace and System Assigned Managed Identity
76
+
77
+
> [!NOTE]
78
+
> The system-assigned managed identity that is created during cluster creation does not exist until the cluster is created. This system-assigned managed identity will need to have persmissions over the scope of the Log Analytics Workspace with the role of Log Analytics Contributor before we can update the cluster to utilize this identity.
79
+
80
+
```azurecli-interactive
81
+
az networkcloud cluster update --name "<cluster-name>" \
### View the principal ID for the system-assigned managed identity
91
+
92
+
The identity resource ID can be found by selecting "JSON view" on the identity resource; the ID is at the top of the panel that appears. The container URL can be found on the Settings -> Properties tab of the container resource.
93
+
94
+
The CLI can also be used to view the identity and the associated principal ID data within the cluster.
95
+
96
+
Example:
97
+
98
+
```console
99
+
az networkcloud cluster show --ids /subscriptions/<Subscription ID>/resourceGroups/<Cluster Resource Group Name>/providers/Microsoft.NetworkCloud/clusters/<Cluster Name>
0 commit comments