Skip to content

Commit 1de4c21

Browse files
committed
update
1 parent cbbdb3c commit 1de4c21

11 files changed

+27
-10
lines changed

articles/key-vault/certificates/quick-create-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this quickstart, you create a key vault in Azure Key Vault with Azure CLI. Az
2626

2727
## Create a key vault
2828

29-
[!INCLUDE [Create a key vault](../includes/key-vault-cli-kv-creation.md)]
29+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-cli.md)]
3030

3131
## Add a certificate to Key Vault
3232

articles/key-vault/certificates/quick-create-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Connect-AzAccount
3232

3333
## Create a key vault
3434

35-
[!INCLUDE [Create a key vault](../includes/key-vault-powershell-kv-creation.md)]
35+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-powershell.md)]
3636

3737
### Grant access to your key vault
3838

articles/key-vault/general/quick-create-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Azure Key Vault is a cloud service that provides a secure store for [keys](../ke
2828

2929
## Create a key vault
3030

31-
[!INCLUDE [Create a key vault](../includes/key-vault-cli-kv-creation.md)]
31+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-cli.md)]
3232

3333
## Clean up resources
3434

articles/key-vault/general/quick-create-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Connect-AzAccount
3131

3232
## Create a key vault
3333

34-
[!INCLUDE [Create a key vault](../includes/key-vault-powershell-kv-creation.md)]
34+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-powershell.md)]
3535

3636
## Clean up resources
3737

articles/key-vault/includes/key-vault-access-policy-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ms.author: msmbaldwin
99

1010
---
1111

12-
Key vault supports up to 1024 access policy entries, with each entry granting a distinct set of permissions to a particular security principal. Because of this limitation, we recommend assigning access policies to groups of users, where possible, rather than individual users. Using groups makes it much easier to manage permissions for multiple people in your organization. For more information, see [Manage app and resource access using Microsoft Entra groups](../articles/active-directory/fundamentals/active-directory-manage-groups.md)
12+
Key vault supports up to 1024 access policy entries, with each entry granting a distinct set of permissions to a particular security principal. Because of this limitation, we recommend assigning access policies to groups of users, where possible, rather than individual users. Using groups makes it much easier to manage permissions for multiple people in your organization. For more information, see [Manage app and resource access using Microsoft Entra groups](/entra/fundamentals/how-to-manage-groups).
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
author: msmbaldwin
3+
ms.service: key-vault
4+
ms.custom: devx-track-azurepowershell
5+
ms.topic: include
6+
ms.date: 04/04/2024
7+
ms.author: msmbaldwin
8+
# Used by articles that show how to assign a Key Vault access policy
9+
---
10+
11+
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).
12+
13+
```azurepowershell
14+
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>"
15+
```
16+
17+
Replace \<your-email-address\>, \<subscription-id\>, \<resource-group-name\> and \<your-unique-keyvault-name\> with your actual values. \<your-email-address\> is your sign-in name; you can instead use the `-ObjectId` parameter and a Microsoft Entra Object ID.

articles/key-vault/includes/key-vault-rg-kv-creation.md

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

1212
---
1313

14-
This quickstart uses a precreated Azure key vault. You can create a key vault by following the steps in the [Azure CLI quickstart](../articles/key-vault/general/quick-create-cli.md), [Azure PowerShell quickstart](../articles/key-vault/general/quick-create-powershell.md), or [Azure portal quickstart](../articles/key-vault/general/quick-create-portal.md).
14+
This quickstart uses a precreated Azure key vault. You can create a key vault by following the steps in the [Azure CLI quickstart](/azure/key-vault/general/quick-create-cli), [Azure PowerShell quickstart](/azure/key-vault/general/quick-create-powershell), or [Azure portal quickstart](/azure/key-vault/general/quick-create-portal).
1515

1616
Alternatively, you can run these Azure CLI or Azure PowerShell commands.
1717

articles/key-vault/keys/quick-create-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this quickstart, you create a key vault in Azure Key Vault with Azure CLI. Az
2626

2727
## Create a key vault
2828

29-
[!INCLUDE [Create a key vault](../includes/key-vault-cli-kv-creation.md)]
29+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-cli.md)]
3030

3131
## Add a key to Key Vault
3232

articles/key-vault/keys/quick-create-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Connect-AzAccount
3131

3232
## Create a key vault
3333

34-
[!INCLUDE [Create a key vault](../includes/key-vault-powershell-kv-creation.md)]
34+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-powershell.md)]
3535

3636
## Add a key to Key Vault
3737

articles/key-vault/secrets/quick-create-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This quickstart requires version 2.0.4 or later of the Azure CLI. If using Azure
2626

2727
## Create a key vault
2828

29-
[!INCLUDE [Create a key vault](../includes/key-vault-cli-kv-creation.md)]
29+
[!INCLUDE [Create a key vault](../includes/key-vault-creation-cli.md)]
3030

3131
## Give your user account permissions to manage secrets in Key Vault
3232

0 commit comments

Comments
 (0)