Skip to content

Commit 69ec2d1

Browse files
Update configure-ssl-certificate.md
1 parent 7e93471 commit 69ec2d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/app-service/configure-ssl-certificate.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,21 +143,21 @@ By default, the App Service resource provider doesn't have access to your key va
143143

144144
The service principal app ID or assignee value is the ID for the App Service resource provider. To learn how to authorize key vault permissions for the App Service resource provider using an access policy, see the [provide access to Key Vault keys, certificates, and secrets with an Azure role-based access control documentation](/azure/key-vault/general/rbac-guide?tabs=azure-portal#key-vault-scope-role-assignment).
145145

146-
> [!NOTE]
147-
> Do not delete these RBAC permissions from key vault. If you do, App Service will not be able to sync your web app with the latest key vault certificate version.
148-
149-
#### Azure CLI Command
150-
146+
### [Azure CLI](#tab/RBAC-CLI)
151147
```azurecli-interactive
152148
az role assignment create --role "Key Vault Certificate User" --assignee "abfa0a7c-a6b6-4736-8310-5855508787cd" --scope "/subscriptions/{subscriptionid}/resourcegroups/{resource-group-name}/providers/Microsoft.KeyVault/vaults/{key-vault-name}"
153149
```
154150

155-
#### Azure Powershell Command
151+
### [Azure PowerShell](#tab/RBAC-PS)
156152
```azurepowershell
157153
#Assign by Service Principal ApplicationId
158154
New-AzRoleAssignment -RoleDefinitionName "Key Vault Certificate User" -ApplicationId "abfa0a7c-a6b6-4736-8310-5855508787cd" -Scope "/subscriptions/{subscriptionid}/resourcegroups/{resource-group-name}/providers/Microsoft.KeyVault/vaults/{key-vault-name}"
159155
```
160156

157+
> [!NOTE]
158+
> Do not delete these RBAC permissions from key vault. If you do, App Service will not be able to sync your web app with the latest key vault certificate version.
159+
160+
161161
### [Access policy permissions](#tab/accesspolicy)
162162

163163
| Resource provider | Service principal app ID | Key vault secret permissions | Key vault certificate permissions |

0 commit comments

Comments
 (0)