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/deployment-environments/how-to-configure-managed-identity.md
+31-13Lines changed: 31 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,35 +59,53 @@ As a security best practice, if you choose to use user-assigned identities, use
59
59
60
60
## Assign a subscription role assignment to the managed identity
61
61
62
-
The identity that's attached to the dev center in Azure Deployment Environments should be assigned the Owner role for all the deployment subscriptions and the Reader role for all subscriptions that contain the relevant project. When a user creates or deploys an environment, the service grants appropriate access to the deployment identity that's attached to the project environment type. The deployment identity uses the access to perform deployments on behalf of the user. You can use the managed identity to empower developers to create environments without granting them access to the subscription.
62
+
The identity that's attached to the dev center should be assigned the Contributor and User Access Administrator roles for all the deployment subscriptions and the Reader role for all subscriptions that contain the relevant project. When a user creates or deploys an environment, the service grants appropriate access to the deployment identity that's attached to the project environment type. The deployment identity uses the access to perform deployments on behalf of the user. You can use the managed identity to empower developers to create environments without granting them access to the subscription.
63
63
64
64
### Add a role assignment to a system-assigned managed identity
65
65
66
-
1. In the Azure portal, go to your dev center.
66
+
1. In the Azure portal, navigate to your dev center.
67
67
1. On the left menu under **Settings**, select **Identity**.
68
68
1. Under **System assigned** > **Permissions**, select **Azure role assignments**.
69
69
70
70
:::image type="content" source="./media/configure-managed-identity/system-assigned-azure-role-assignment.png" alt-text="Screenshot that shows the Azure role assignment for system-assigned identity.":::
71
71
72
-
1. On **Azure role assignments**, select **Add role assignment (Preview)**, and then enter or select the following information:
72
+
1. To give Contributor access to the subscription, select **Add role assignment (Preview)**, enter or select the following information, and then select **Save**:
73
+
74
+
|Name |Value |
75
+
|---------|----------|
76
+
|**Scope**|Subscription|
77
+
|**Subscription**|Select the subscription in which to use the managed identity.|
78
+
|**Role**|Contributor|
73
79
74
-
1. For **Scope**, select **Subscription**.
75
-
1. For **Subscription**, select the subscription in which to use the managed identity.
76
-
1. For **Role**, select **Owner**.
77
-
1. Select **Save**.
80
+
1. To give User Access Administrator access to the subscription, select **Add role assignment (Preview)**, enter or select the following information, and then select **Save**:
81
+
82
+
|Name |Value |
83
+
|---------|----------|
84
+
|**Scope**|Subscription|
85
+
|**Subscription**|Select the subscription in which to use the managed identity.|
86
+
|**Role**|User Access Administrator|
78
87
79
88
### Add a role assignment to a user-assigned managed identity
80
89
81
90
1. In the Azure portal, go to your dev center.
82
91
1. On the left menu under **Settings**, select **Identity**.
83
92
1. Under **User assigned**, select the identity.
84
93
1. On the left menu, select **Azure role assignments**.
85
-
1. On **Azure role assignments**, select **Add role assignment (Preview)**, and then enter or select the following information:
86
-
87
-
1. For **Scope**, select **Subscription**.
88
-
1. For **Subscription**, select the subscription in which to use the managed identity.
89
-
1. For **Role**, select **Owner**.
90
-
1. Select **Save**.
94
+
1. To give Contributor access to the subscription, select **Add role assignment (Preview)**, enter or select the following information, and then select **Save**:
95
+
96
+
|Name |Value |
97
+
|---------|----------|
98
+
|**Scope**|Subscription|
99
+
|**Subscription**|Select the subscription in which to use the managed identity.|
100
+
|**Role**|Contributor|
101
+
102
+
1. To give User Access Administrator access to the subscription, select **Add role assignment (Preview)**, enter or select the following information, and then select **Save**:
103
+
104
+
|Name |Value |
105
+
|---------|----------|
106
+
|**Scope**|Subscription|
107
+
|**Subscription**|Select the subscription in which to use the managed identity.|
108
+
|**Role**|User Access Administrator|
91
109
92
110
## Grant the managed identity access to the key vault secret
Copy file name to clipboardExpand all lines: articles/deployment-environments/how-to-create-configure-dev-center.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ To add a catalog to your dev center, you first need to gather some information.
153
153
To add a catalog, you must specify the GitHub repo URL, the branch, and the folder that contains your environment definitions. You can gather this information before you begin the process of adding the catalog to the dev center.
154
154
155
155
> [!TIP]
156
-
> If you are attaching an Azure DevOps repository, use these steps: [Get the clone URL of an Azure DevOps repository](how-to-configure-catalog.md#get-the-clone-url-of-an-azure-devops-repository).
156
+
> If you are attaching an Azure DevOps repository, use these steps: [Get the clone URL of an Azure DevOps repository](how-to-configure-catalog.md#get-the-clone-url-for-your-azure-devops-repository).
157
157
158
158
1. On your [GitHub](https://github.com) account page, select **<> Code**, and then select copy.
159
159
1. Take a note of the branch that you're working in.
0 commit comments