Skip to content

Commit 6a7f9f0

Browse files
authored
Merge pull request #226997 from MaryanneNjeri/maryanne/push_pull_docsFix
Removed shared role assignment section
2 parents 63a921d + 9ab43d4 commit 6a7f9f0

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed
18.2 KB
Loading

articles/azure-app-configuration/pull-key-value-devops-pipeline.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,19 @@ The [Azure App Configuration](https://marketplace.visualstudio.com/items?itemNam
2727

2828
## Add role assignment
2929

30-
[!INCLUDE [azure-app-configuration-role-assignment](../../includes/azure-app-configuration-role-assignment.md)]
30+
Assign the proper App Configuration role assignments to the credentials being used within the task so that the task can access the App Configuration store.
31+
32+
1. Go to your target App Configuration store.
33+
1. In the left menu, select **Access control (IAM)**.
34+
1. In the right pane, select **Add role assignments**.
35+
36+
:::image type="content" border="true" source="./media/azure-app-configuration-role-assignment/add-role-assignment-button.png" alt-text="Screenshot shows the Add role assignments button.":::
37+
1. For **Role**, select **App Configuration Data Reader**. This role allows the task to read from the App Configuration store.
38+
1. Select the service principal associated with the service connection that you created in the previous section.
39+
40+
:::image type="content" border="true" source="./media/azure-app-configuration-role-assignment/add-role-assignment-data-reader.png" alt-text="Screenshot shows the Add role assignment dialog.":::
41+
1. Select **Review + assign**.
42+
1. If the store contains Key Vault references, go to relevant Key Vault and assign **Key Vault Secret User** role to the service principal created in the previous step. From the Key Vault menu, select **Access policies** and ensure [Azure role-based access control](../key-vault/general/rbac-guide.md) is selected as the permission model.
3143

3244
## Use in builds
3345

articles/azure-app-configuration/push-kv-devops-pipeline.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,18 @@ The [Azure App Configuration Push](https://marketplace.visualstudio.com/items?it
2727

2828
## Add role assignment
2929

30-
[!INCLUDE [azure-app-configuration-role-assignment](../../includes/azure-app-configuration-role-assignment.md)]
30+
Assign the proper App Configuration role assignments to the credentials being used within the task so that the task can access the App Configuration store.
31+
32+
1. Go to your target App Configuration store.
33+
1. In the left menu, select **Access control (IAM)**.
34+
1. In the right pane, select **Add role assignments**.
35+
36+
:::image type="content" border="true" source="./media/azure-app-configuration-role-assignment/add-role-assignment-button.png" alt-text="Screenshot shows the Add role assignments button.":::
37+
1. For **Role**, select **App Configuration Data Owner**. This role allows the task to read from and write to the App Configuration store.
38+
1. Select the service principal associated with the service connection that you created in the previous section.
39+
40+
:::image type="content" border="true" source="./media/azure-app-configuration-role-assignment/add-role-assignment-data-owner.png" alt-text="Screenshot shows the Add role assignment dialog.":::
41+
1. Select **Review + assign**.
3142

3243
## Use in builds
3344

@@ -50,7 +61,7 @@ This section will cover how to use the Azure App Configuration Push task in an A
5061

5162
## Use in releases
5263

53-
This section will cover how to use the Azure App Configuration Push task in an Azure DevOps release pipelines.
64+
This section will cover how to use the Azure App Configuration Push task in an Azure DevOps release pipeline.
5465

5566
1. Navigate to release pipeline page by selecting **Pipelines** > **Releases**. Documentation for release pipelines can be found [here](/azure/devops/pipelines/release).
5667
1. Choose an existing release pipeline. If you don’t have one, select **+ New** to create a new one.
@@ -111,4 +122,4 @@ Depending on the file content profile you selected, please refer to examples in
111122

112123
**Why am I receiving a 409 error when attempting to push key-values to my configuration store?**
113124

114-
A 409 Conflict error message will occur if the task tries to remove or overwrite a key-value that is locked in the App Configuration store.
125+
A 409 Conflict error message will occur if the task tries to remove or overwrite a key-value that is locked in the App Configuration store.

0 commit comments

Comments
 (0)