Skip to content

Commit 83fc94b

Browse files
committed
update
1 parent a5c70e1 commit 83fc94b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

includes/key-vault-quickstart-rbac-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: msmbaldwin
1111

1212
To grant your application permissions to your key vault through Role-Based Access Control (RBAC), assign a role using the Azure PowerShell cmdlet [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment).
1313

14-
```
14+
```azurepowershell
1515
New-AzRoleAssignment -RoleDefinitionName "Key Vault Secrets User" -SignInName "<your-email-address>" -Scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.KeyVault/vaults/<your-unique-keyvault-name>"
1616
```
1717

includes/key-vault-quickstart-rbac.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ az role assignment create --role "Key Vault Secrets User" --assignee "<app-id>"
2121

2222
To grant your application permissions to your key vault through Role-Based Access Control (RBAC), assign a role using the Azure PowerShell cmdlet [New-AzRoleAssignment](/powershell/module/az.resources/new-azroleassignment).
2323

24-
```
24+
```azurepowershell
2525
New-AzRoleAssignment -ObjectId "<app-id>" -RoleDefinitionName "Key Vault Secrets User" -Scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.KeyVault/vaults/<your-unique-keyvault-name>"
26-
```
26+
```
2727

2828
---
2929

0 commit comments

Comments
 (0)