Skip to content

Commit 6b6fba9

Browse files
authored
Update create-key-vault-for-code-signing.md
1 parent bb88d35 commit 6b6fba9

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

powerapps-docs/maker/common/wrap/create-key-vault-for-code-signing.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,42 @@ The following Azure key vault errors might appear in wrap for Power Apps and can
130130
- Verify that your Azure key vault is in the Default Subscription for your tenant.
131131

132132
- Make sure to to select **Vault access policy** option when creating your key vault.
133+
> [!div class="mx-imgBorder"]
134+
> ![Select Vault Access policy.](media/how-to-v2/VaultAccessPolicy.png "Select Vault access policy option.")
135+
136+
- Run these PowerShell commands as an admin:
137+
138+
`Connect-AzureAD -TenantId <your tenant ID>` in Power Shell <br>
139+
`New-AzureADServicePrincipal -AppId 4e1f8dc5-5a42-45ce-a096-700fa485ba20 -DisplayName "Wrap KeyVault Access App"`
140+
141+
- In your Default subscription's **Access Control (IAM)** on Azure portal at [https://portal.azure.com](https://portal.azure.com), add a **Reader** role assignment to the **Service Principal** representing your app, e.g. **Wrap KeyVault Access App**. Make sure it is present in both **Subscription's IAM**, and the **Keyvault's IAM**.
142+
143+
Go to **Access control (IAM)** tab and select **Add role assignment** option under **Add** menu button.
144+
145+
> [!div class="mx-imgBorder"]
146+
> ![Add role assignment on Access control tab.](media/how-to-v2/Access_control_tab.png "Add role assignment on Access control tab.")
147+
148+
Select **Job fucntion roles** tab and make sure **Reader** role is selcetdd. Then click on **Members** tab in the top menu.
149+
150+
> [!div class="mx-imgBorder"]
151+
> ![Click on Members tab.](media/how-to-v2/Add_members.png "Click on Members tab.")
152+
153+
Search for **Wrap KeyVault Access App** on **Members** tab.
154+
155+
> [!div class="mx-imgBorder"]
156+
> ![Search for Wrap KeyVault Access App.](media/how-to-v2/Add_role_assignment.png "Search for Wrap KeyVault Access App.")
157+
158+
Select **Wrap KeyVault Access App** and click on **Review + assign** button on the bottom of the tab to assign **Reader** role to it.
159+
160+
> [!div class="mx-imgBorder"]
161+
> ![Assign Reader role to Wrap KeyVault Access App.](media/how-to-v2/Add_role_for_wrap_signing.png "Assign Reader role to Wrap KeyVault Access App.")
162+
163+
- Add access policies for your Azure key vault.
164+
> [!div class="mx-imgBorder"]
165+
> ![Add Vault Access policies.](media/how-to-v2/CreateVaultAccessPolicy.png "Add Vault access policies.")
166+
>
167+
> [!div class="mx-imgBorder"]
168+
> ![Review and Create Vault access policy.](media/how-to-v2/ReviewandCreateVaultPolicy.png "Review and Create Vault Access policy.")
133169
134170
## 1000120
135171

0 commit comments

Comments
 (0)