You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/key-vault/quick-create-net.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.custom: mvc
15
15
16
16
# Quickstart: Set and retrieve a secret from Azure Key Vault by using a .NET web app
17
17
18
-
In this quickstart, you go over the necessary steps for getting an Azure web application to read information from Azure Key Vault by using managed service identities. You learn how to:
18
+
In this quickstart, you follow the necessary steps for getting an Azure web application to read information from Azure Key Vault by using managed service identities. You learn how to:
19
19
20
20
> [!div class="checklist"]
21
21
> * Create a key vault.
@@ -44,24 +44,24 @@ Before we go any further, please read the [basic concepts](key-vault-whatis.md#b
44
44
* See [What’s New in Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
* An Azure subscription. If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
49
-
*[Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest). You need Azure CLI version 2.0.4 or later. This is available for Windows, Mac, and Linux.
49
+
*[Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest) version 2.0.4 or later. This is available for Windows, Mac, and Linux.
50
50
51
51
## Log in to Azure
52
52
53
-
To log in to the Azure by using the Azure CLI, enter:
53
+
To log in to Azure by using the Azure CLI, enter:
54
54
55
55
```azurecli
56
56
az login
57
57
```
58
58
59
59
## Create a resource group
60
60
61
-
Create a resource group with the [az group create](/cli/azure/group#az-group-create) command. An Azure resource group is a logical container into which Azure resources are deployed and managed.
61
+
Create a resource group by using the [az group create](/cli/azure/group#az-group-create) command. An Azure resource group is a logical container into which Azure resources are deployed and managed.
62
62
63
63
Select a resource group name and fill in the placeholder.
64
-
The following example creates a resource group in the *East US* location.
64
+
The following example creates a resource group in the East US location.
65
65
66
66
```azurecli
67
67
# To list locations: az account list-locations --output table
@@ -74,9 +74,9 @@ The resource group that you just created is used throughout this article.
74
74
75
75
Next you create a key vault in the resource group that you created in the previous step. Provide the following information:
76
76
77
-
*Vault name: The key vault name must be a string of 3-24 characters in length and contain only (0-9, a-z, A-Z, and -).
77
+
*Key vault name: The name must be a string of 3-24 characters and must contain only (0-9, a-z, A-Z, and -).
78
78
* Resource group name.
79
-
*The location: **East US**.
79
+
*Location: **East US**.
80
80
81
81
```azurecli
82
82
az keyvault create --name "<YourKeyVaultName>" --resource-group "<YourResourceGroupName>" --location "East US"
@@ -86,7 +86,7 @@ At this point, your Azure account is the only one that's authorized to perform a
86
86
87
87
## Add a secret to the key vault
88
88
89
-
We're adding a secret to help illustrate how this works. You might be storing a SQL connection string or any other information that you need to keep securely but make available to your application. In this tutorial, the password will be **AppSecret** and will store the value of **MySecret** in it.
89
+
We're adding a secret to help illustrate how this works. You might be storing a SQL connection string or any other information that you need to keep securely but make available to your application.
90
90
91
91
Type the following commands to create a secret in the key vault called **AppSecret**. This secret will store the value **MySecret**.
92
92
@@ -100,7 +100,7 @@ To view the value contained in the secret as plain text:
100
100
az keyvault secret show --name "AppSecret" --vault-name "<YourKeyVaultName>"
101
101
```
102
102
103
-
This command shows the secret information, including the URI. After you complete these steps, you should have a URI to a secret in an key vault. Make note of this information. You'll need it in a later step.
103
+
This command shows the secret information, including the URI. After you complete these steps, you should have a URI to a secret in a key vault. Make note of this information. You'll need it in a later step.
0 commit comments