Skip to content

Commit bd7eef9

Browse files
authored
Merge pull request #102284 from msmbaldwin/akv-rotate
Secret rotation tutorial
2 parents 2b0b2f0 + 4485386 commit bd7eef9

14 files changed

+282
-12
lines changed

articles/key-vault/key-vault-key-rotation-log-monitoring.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,16 @@ ms.author: mbaldwin
1919

2020
After you have a key vault, you can start using it to store keys and secrets. Your applications no longer need to persist your keys or secrets, but can request them from the vault as needed. A key vault allows you to update keys and secrets without affecting the behavior of your application, which opens up a breadth of possibilities for your key and secret management.
2121

22-
>[!IMPORTANT]
23-
> The examples in this article are provided for illustration purposes only. They're not intended for production use.
22+
This article walks through how to implement a scheduled rotation of storage account keys, monitor the key vault audit logs, and raise alerts when unexpected requests are made.
2423

25-
This article walks through:
24+
You must first create a key vault using the method of your choice:
2625

27-
- An example of using Azure Key Vault to store a secret. In this article, the secret stored is the Azure storage account key accessed by an application.
28-
- How to implement a scheduled rotation of that storage account key.
29-
- How to monitor the key vault audit logs and raise alerts when unexpected requests are made.
26+
- [Set and retrieve a secret from Azure Key Vault using Azure CLI](quick-create-cli.md)
27+
- [Set and retrieve a secret from Azure Key Vault using Azure PowerShell](quick-create-powershell.md)
28+
- [Set and retrieve a secret from Azure Key Vault using Azure portal](quick-create-portal.md)
3029

31-
> [!NOTE]
32-
> This article doesn't explain in detail the initial setup of your key vault. For this information, see [What is Azure Key Vault?](key-vault-overview.md). For cross-platform command-line interface instructions, see [Manage Key Vault using the Azure CLI](key-vault-manage-with-cli2.md).
33-
34-
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
3530

36-
## Set up Key Vault
31+
## Store a secret
3732

3833
To enable an application to retrieve a secret from Key Vault, you must first create the secret and upload it to your vault.
3934

articles/key-vault/key-vault-soft-delete-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You enable "soft-delete" to allow recovery of a deleted key vault, or objects st
4848
For an existing key vault named ContosoVault, enable soft-delete as follows.
4949

5050
```azurecli
51-
az resource update --id $(az keyvault show --name ContosoVault -o tsv | awk '{print $1}') --set properties.enableSoftDelete=true
51+
az keyvault update -n ContosoVault --enable-soft-delete true
5252
```
5353

5454
### New key vault

articles/key-vault/media/rotate1.png

73.9 KB
Loading

articles/key-vault/media/rotate10.png

70.2 KB
Loading

articles/key-vault/media/rotate2.png

252 KB
Loading

articles/key-vault/media/rotate3.png

170 KB
Loading

articles/key-vault/media/rotate4.png

37.9 KB
Loading

articles/key-vault/media/rotate5.png

62.2 KB
Loading

articles/key-vault/media/rotate6.png

35.2 KB
Loading

articles/key-vault/media/rotate7.png

41.9 KB
Loading

0 commit comments

Comments
 (0)