Skip to content

Commit 02aac5f

Browse files
Merge pull request #223233 from msmbaldwin/freshness
Freshness
2 parents 426bc9a + 1549a2d commit 02aac5f

File tree

8 files changed

+49
-47
lines changed

8 files changed

+49
-47
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ tags: azure-resource-manager
66
ms.service: key-vault
77
ms.subservice: keys
88
ms.topic: quickstart
9-
ms.date: 01/27/2021
9+
ms.date: 01/04/2023
1010
ms.author: mbaldwin
1111
ms.custom: devx-track-azurecli, mode-api
1212
#Customer intent: As a security admin who is new to Azure, I want to use Key Vault to securely store keys and passwords in Azure
1313
---
1414
# Quickstart: Set and retrieve a key from Azure Key Vault using Azure CLI
1515

16-
In this quickstart, you create a key vault in Azure Key Vault with Azure CLI. Azure Key Vault is a cloud service that works as a secure secrets store. You can securely store keys, passwords, certificates, and other secrets. For more information on Key Vault you may review the [Overview](../general/overview.md). Azure CLI is used to create and manage Azure resources using commands or scripts. Once that you have completed that, you will store a key.
16+
In this quickstart, you create a key vault in Azure Key Vault with Azure CLI. Azure Key Vault is a cloud service that works as a secure secrets store. You can securely store keys, passwords, certificates, and other secrets. For more information on Key Vault, review the [Overview](../general/overview.md). Azure CLI is used to create and manage Azure resources using commands or scripts. Once that you've completed that, you will store a key.
1717

1818
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
1919

@@ -33,7 +33,7 @@ In this quickstart, you create a key vault in Azure Key Vault with Azure CLI. Az
3333

3434
To add a key to the vault, you just need to take a couple of additional steps. This key could be used by an application.
3535

36-
Type the commands below to create a key called **ExampleKey** :
36+
Type this command to create a key called **ExampleKey** :
3737

3838
```azurecli
3939
az keyvault key create --vault-name "<your-unique-keyvault-name>" -n ExampleKey --protection software
@@ -48,15 +48,15 @@ To view previously stored key:
4848
az keyvault key show --name "ExampleKey" --vault-name "<your-unique-keyvault-name>"
4949
```
5050

51-
Now, you have created a Key Vault, stored a key, and retrieved it.
51+
Now, you've created a Key Vault, stored a key, and retrieved it.
5252

5353
## Clean up resources
5454

5555
[!INCLUDE [Create a key vault](../../../includes/cli-rg-delete.md)]
5656

5757
## Next steps
5858

59-
In this quickstart you created a Key Vault and stored a key in it. To learn more about Key Vault and how to integrate it with your applications, continue on to the articles below.
59+
In this quickstart, you created a Key Vault and stored a key in it. To learn more about Key Vault and how to integrate it with your applications, continue on to these articles.
6060

6161
- Read an [Overview of Azure Key Vault](../general/overview.md)
6262
- See the reference for the [Azure CLI az keyvault commands](/cli/azure/keyvault)

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ description: Provides a quickstart for the Azure Key Vault Keys client library f
44
author: msmbaldwin
55
ms.custom: devx-track-java, devx-track-azurecli, devx-track-azurepowershell, mode-api
66
ms.author: mbaldwin
7-
ms.date: 01/05/2021
7+
ms.date: 01/04/2023
88
ms.service: key-vault
99
ms.subservice: keys
1010
ms.topic: quickstart
1111
ms.devlang: java
1212
---
1313

1414
# Quickstart: Azure Key Vault Key client library for Java
15-
Get started with the Azure Key Vault Key client library for Java. Follow the steps below to install the package and try out example code for basic tasks.
15+
16+
Get started with the Azure Key Vault Key client library for Java. Follow these steps to install the package and try out example code for basic tasks.
1617

1718
Additional resources:
1819

@@ -27,7 +28,7 @@ Additional resources:
2728
- [Apache Maven](https://maven.apache.org)
2829
- [Azure CLI](/cli/azure/install-azure-cli)
2930

30-
This quickstart assumes you are running [Azure CLI](/cli/azure/install-azure-cli) and [Apache Maven](https://maven.apache.org) in a Linux terminal window.
31+
This quickstart assumes you're running [Azure CLI](/cli/azure/install-azure-cli) and [Apache Maven](https://maven.apache.org) in a Linux terminal window.
3132

3233
## Setting up
3334
This quickstart is using the Azure Identity library with Azure CLI to authenticate user to Azure Services. Developers can also use Visual Studio or Visual Studio Code to authenticate their calls, for more information, see [Authenticate the client with Azure Identity client library](/java/api/overview/azure/identity-readme).
@@ -133,7 +134,7 @@ export KEY_VAULT_NAME=<your-key-vault-name>
133134
## Object model
134135
The Azure Key Vault Key client library for Java allows you to manage keys. The [Code examples](#code-examples) section shows how to create a client, create a key, retrieve a key, and delete a key.
135136

136-
The entire console app is [below](#sample-code).
137+
The entire console app is supplied in [Sample code](#sample-code).
137138

138139
## Code examples
139140
### Add directives
@@ -151,9 +152,10 @@ import com.azure.security.keyvault.keys.models.KeyVaultKey;
151152
```
152153

153154
### Authenticate and create a client
155+
154156
In this quickstart, a logged in user is used to authenticate to Key Vault, which is preferred method for local development. For applications deployed to Azure, a Managed Identity should be assigned to an App Service or Virtual Machine. For more information, see [Managed Identity Overview](../../active-directory/managed-identities-azure-resources/overview.md).
155157

156-
In the example below, the name of your key vault is expanded to the key vault URI, in the format "https://\<your-key-vault-name\>.vault.azure.net". This example is using the ['DefaultAzureCredential()'](/java/api/com.azure.identity.defaultazurecredential) class, which allows to use the same code across different environments with different options to provide identity. For more information, see [Default Azure Credential Authentication](/java/api/overview/azure/identity-readme).
158+
In this example, the name of your key vault is expanded to the key vault URI, in the format `https://<your-key-vault-name>.vault.azure.net`. This example is using the ['DefaultAzureCredential()'](/java/api/com.azure.identity.defaultazurecredential) class, which allows to use the same code across different environments with different options to provide identity. For more information, see [Default Azure Credential Authentication](/java/api/overview/azure/identity-readme).
157159

158160
```java
159161
String keyVaultName = System.getenv("KEY_VAULT_NAME");
@@ -166,7 +168,7 @@ KeyClient keyClient = new KeyClientBuilder()
166168
```
167169

168170
### Create a key
169-
Now that your application is authenticated, you can create a key in your key vault using the `keyClient.createKey` method. This requires a name for the key and a key type -- we've assigned the value "myKey" to the `keyName` variable and use a an RSA `KeyType` in this sample.
171+
Now that your application is authenticated, you can create a key in your key vault using the `keyClient.createKey` method. This requires a name for the key and a key type. We've assigned the value "myKey" to the `keyName` variable and use a an RSA `KeyType` in this sample.
170172

171173
```java
172174
keyClient.createKey(keyName, KeyType.RSA);
@@ -262,7 +264,7 @@ public class App {
262264
```
263265

264266
## Next steps
265-
In this quickstart you created a key vault, created a key, retrieved it, and then deleted it. To learn more about Key Vault and how to integrate it with your applications, continue on to the articles below.
267+
In this quickstart, you created a key vault, created a key, retrieved it, and then deleted it. To learn more about Key Vault and how to integrate it with your applications, continue on to these articles.
266268

267269
- Read an [Overview of Azure Key Vault](../general/overview.md)
268270
- Read the [Key Vault security overview](../general/security-features.md)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Quickstart - Azure Key Vault keys client library for .NET (version 4)
33
description: Learn how to create, retrieve, and delete keys from an Azure key vault using the .NET client library (version 4)
44
author: msmbaldwin
55
ms.author: mbaldwin
6-
ms.date: 09/23/2020
6+
ms.date: 01/04/2023
77
ms.service: key-vault
88
ms.subservice: keys
99
ms.topic: quickstart
@@ -133,7 +133,7 @@ using Azure.Security.KeyVault.Keys;
133133

134134
In this quickstart, logged in user is used to authenticate to key vault, which is preferred method for local development. For applications deployed to Azure, managed identity should be assigned to App Service or Virtual Machine, for more information, see [Managed Identity Overview](/azure/active-directory/managed-identities-azure-resources/overview).
135135

136-
In below example, the name of your key vault is expanded to the key vault URI, in the format "https://\<your-key-vault-name\>.vault.azure.net". This example is using ['DefaultAzureCredential()'](/dotnet/api/azure.identity.defaultazurecredential) class from [Azure Identity Library](/dotnet/api/overview/azure/identity-readme), which allows to use the same code across different environments with different options to provide identity. Fore more information about authenticating to key vault, see [Developer's Guide](/azure/key-vault/general/developers-guide#authenticate-to-key-vault-in-code).
136+
In this example, the name of your key vault is expanded to the key vault URI, in the format `https://<your-key-vault-name>.vault.azure.net`. This example is using ['DefaultAzureCredential()'](/dotnet/api/azure.identity.defaultazurecredential) class from [Azure Identity Library](/dotnet/api/overview/azure/identity-readme), which allows to use the same code across different environments with different options to provide identity. Fore more information about authenticating to key vault, see [Developer's Guide](/azure/key-vault/general/developers-guide#authenticate-to-key-vault-in-code).
137137

138138
```csharp
139139
var keyVaultName = Environment.GetEnvironmentVariable("KEY_VAULT_NAME");
@@ -151,7 +151,7 @@ var key = await client.CreateKeyAsync("myKey", KeyType.Rsa);
151151
```
152152

153153
> [!NOTE]
154-
> If key name exists, above code will create new version of that key.
154+
> If key name exists, this code will create new version of that key.
155155
156156
### Retrieve a key
157157

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Quickstart - Azure Key Vault key client library for JavaScript (version
33
description: Learn how to create, retrieve, and delete keys from an Azure key vault using the JavaScript client library
44
author: msmbaldwin
55
ms.author: mbaldwin
6-
ms.date: 12/13/2021
6+
ms.date: 01/04/2023
77
ms.service: key-vault
88
ms.subservice: keys
99
ms.topic: quickstart
@@ -33,7 +33,7 @@ For more information about Key Vault and keys, see:
3333
- [Azure portal](../general/quick-create-portal.md)
3434
- [Azure PowerShell](../general/quick-create-powershell.md)
3535

36-
This quickstart assumes you are running [Azure CLI](/cli/azure/install-azure-cli).
36+
This quickstart assumes you're running [Azure CLI](/cli/azure/install-azure-cli).
3737

3838
## Sign in to Azure
3939

@@ -110,7 +110,7 @@ export KEY_VAULT_NAME=<your-key-vault-name>
110110

111111
## Code example
112112

113-
The code sample below will show you how to create a client, set a key, retrieve a key, and delete a key.
113+
This code sample demonstrates how to create a client, set a key, retrieve a key, and delete a key.
114114

115115
### Set up the app framework
116116

@@ -232,7 +232,7 @@ The Azure SDK provides a helper method, [parseKeyVaultKeyIdentifier](/javascript
232232

233233
## Next steps
234234

235-
In this quickstart, you created a key vault, stored a key, and retrieved that key. To learn more about Key Vault and how to integrate it with your applications, continue on to the articles below.
235+
In this quickstart, you created a key vault, stored a key, and retrieved that key. To learn more about Key Vault and how to integrate it with your applications, continue on to these articles.
236236

237237
- Read an [Overview of Azure Key Vault](../general/overview.md)
238238
- Read an [Overview of Azure Key Vault Keys](about-keys.md)

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: key-vault
88
ms.subservice: keys
99
ms.topic: quickstart
1010
ms.custom: mvc, mode-ui
11-
ms.date: 03/24/2020
11+
ms.date: 01/04/2023
1212
ms.author: mbaldwin
1313
#Customer intent: As a security admin who is new to Azure, I want to use Key Vault to securely store keys in Azure
1414
---
@@ -31,15 +31,15 @@ Sign in to the Azure portal at https://portal.azure.com.
3131
To add a key to the vault, you just need to take a couple of additional steps. In this case, we add a key that could be used by an application. The key is called **ExampleKey**.
3232

3333
1. On the Key Vault properties pages, select **Keys**.
34-
2. Click on **Generate/Import**.
34+
2. Select **Generate/Import**.
3535
3. On the **Create a key** screen choose the following values:
3636
- **Options**: Generate.
3737
- **Name**: ExampleKey.
38-
- Leave the other values to their defaults. Click **Create**.
38+
- Leave the other values to their defaults. Select **Create**.
3939

4040
## Retrieve a key from Key Vault
4141

42-
Once that you receive the message that the key has been successfully created, you may click on it on the list. You can then see some of the properties and click **Download public key** to retrieve the key.
42+
Once that you receive the message that the key has been successfully created, you may click on it on the list. You can then see some of the properties and select **Download public key** to retrieve the key.
4343

4444
:::image type="content" source="../media/keys/quick-create-portal/current-version-hidden.png" alt-text="Key properties":::
4545

@@ -55,7 +55,7 @@ When no longer needed, delete the resource group, which deletes the Key Vault an
5555

5656
## Next steps
5757

58-
In this quickstart, you created a Key Vault and stored a key in it. To learn more about Key Vault and how to integrate it with your applications, continue on to the articles below.
58+
In this quickstart, you created a Key Vault and stored a key in it. To learn more about Key Vault and how to integrate it with your applications, continue on to these articles.
5959

6060
- Read an [Overview of Azure Key Vault](../general/overview.md)
6161
- See the [Azure Key Vault developer's guide](../general/developers-guide.md)

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ tags: azure-resource-manager
77
ms.service: key-vault
88
ms.subservice: keys
99
ms.topic: quickstart
10-
ms.date: 01/27/2021
10+
ms.date: 01/04/2023
1111
ms.author: mbaldwin
1212
ms.custom: devx-track-azurepowershell, mode-api
1313
#Customer intent: As a security admin who is new to Azure, I want to use Key Vault to securely store keys and passwords in Azure
1414
---
1515
# Quickstart: Set and retrieve a key from Azure Key Vault using Azure PowerShell
1616

17-
In this quickstart, you create a key vault in Azure Key Vault with Azure PowerShell. Azure Key Vault is a cloud service that works as a secure secrets store. You can securely store keys, passwords, certificates, and other secrets. For more information on Key Vault you may review the [Overview](../general/overview.md). Azure PowerShell is used to create and manage Azure resources using commands or scripts. Once that you have completed that, you will store a key.
17+
In this quickstart, you create a key vault in Azure Key Vault with Azure PowerShell. Azure Key Vault is a cloud service that works as a secure secrets store. You can securely store keys, passwords, certificates, and other secrets. For more information on Key Vault, review the [Overview](../general/overview.md). Azure PowerShell is used to create and manage Azure resources using commands or scripts. Once that you've completed that, you will store a key.
1818

1919
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
2020

2121
[!INCLUDE [cloud-shell-try-it.md](../../../includes/cloud-shell-try-it.md)]
2222

23-
If you choose to install and use PowerShell locally, this tutorial requires Azure PowerShell module version 1.0.0 or later. Type `$PSVersionTable.PSVersion` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run `Login-AzAccount` to create a connection with Azure.
23+
If you choose to install and use PowerShell locally, this tutorial requires Azure PowerShell module version 1.0.0 or later. Type `$PSVersionTable.PSVersion` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you're running PowerShell locally, you also need to run `Login-AzAccount` to create a connection with Azure.
2424

2525
```azurepowershell-interactive
2626
Login-AzAccount
@@ -38,7 +38,7 @@ Login-AzAccount
3838

3939
To add a key to the vault, you just need to take a couple of additional steps. This key could be used by an application.
4040

41-
Type the commands below to create a called **ExampleKey** :
41+
Type this command to create a called **ExampleKey** :
4242

4343
```azurepowershell-interactive
4444
Add-AzKeyVaultKey -VaultName "<your-unique-keyvault-name>" -Name "ExampleKey" -Destination "Software"
@@ -52,15 +52,15 @@ To view previously stored key:
5252
Get-AzKeyVaultKey -VaultName "<your-unique-keyvault-name>" -KeyName "ExampleKey"
5353
```
5454

55-
Now, you have created a Key Vault, stored a key, and retrieved it.
55+
Now, you've created a Key Vault, stored a key, and retrieved it.
5656

5757
## Clean up resources
5858

5959
[!INCLUDE [Create a key vault](../../../includes/powershell-rg-delete.md)]
6060

6161
## Next steps
6262

63-
In this quickstart you created a Key Vault and stored a certificate in it. To learn more about Key Vault and how to integrate it with your applications, continue on to the articles below.
63+
In this quickstart, you created a Key Vault and stored a certificate in it. To learn more about Key Vault and how to integrate it with your applications, continue on to these articles.
6464

6565
- Read an [Overview of Azure Key Vault](../general/overview.md)
6666
- See the reference for the [Azure PowerShell Key Vault cmdlets](/powershell/module/az.keyvault/)

0 commit comments

Comments
 (0)