Skip to content

Commit 32653f4

Browse files
committed
cmk portal
1 parent af13cd8 commit 32653f4

File tree

3 files changed

+43
-11
lines changed

3 files changed

+43
-11
lines changed

articles/storage/common/storage-encryption-keys-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For more information about configuring system-assigned managed identities with A
4242

4343
## Create a new key vault
4444

45-
The key vault that you use to store customer-managed keys for Azure Storage encryption must have two key protection settings enabled, **Soft Delete** and **Do Not Purge**. To create a new key vault using PowerShell or Azure CLI with these settings enabled, execute the following commands. Remember to replace the placeholder values in brackets with your own values.
45+
The key vault that you use to store customer-managed keys for Azure Storage encryption must have two key protection settings enabled, **Soft Delete** and **Do Not Purge**. To create a new key vault using PowerShell or Azure CLI with these settings enabled, execute the following commands. Remember to replace the placeholder values in brackets with your own values.
4646

4747
To create a new key vault using Azure CLI, call [az keyvault create](/cli/azure/keyvault#az-keyvault-create). Remember to replace the placeholder values in brackets with your own values.
4848

articles/storage/common/storage-encryption-keys-portal.md

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 12/04/2019
10+
ms.date: 01/02/2020
1111
ms.author: tamram
1212
ms.reviewer: cbrooks
1313
ms.subservice: common
@@ -19,9 +19,18 @@ ms.subservice: common
1919

2020
This article shows how to configure an Azure Key Vault with customer-managed keys using the [Azure portal](https://portal.azure.com/). To learn how to create a key vault using the Azure portal, see [Quickstart: Set and retrieve a secret from Azure Key Vault using the Azure portal](../../key-vault/quick-create-portal.md).
2121

22-
> [!IMPORTANT]
23-
> Using customer-managed keys with Azure Storage encryption requires that two properties be set on the key vault, **Soft Delete** and **Do Not Purge**. These properties are not enabled by default. To enable these properties, use either PowerShell or Azure CLI.
24-
> Only RSA keys and key size 2048 are supported.
22+
## Configure your Azure Key Vault
23+
24+
You must use Azure Key Vault to store your customer-managed keys. You can either create your own keys and store them in a key vault, or you can use the Azure Key Vault APIs to generate keys. The storage account and the key vault must be in the same region, but they can be in different subscriptions. For more information about Azure Key Vault, see [What is Azure Key Vault?](../../key-vault/key-vault-overview.md).
25+
26+
Using customer-managed keys with Azure Storage encryption requires that two properties be set on the key vault, **Soft Delete** and **Do Not Purge**. These properties are not enabled by default, but can be enabled using either PowerShell or Azure CLI on a new or existing key vault.
27+
28+
To learn how to enable these properties on an existing key vault with PowerShell, see the sections titled **Enabling soft-delete** and **Enabling Purge Protection** in one of the following articles:
29+
30+
- [How to use soft-delete with PowerShell](../../key-vault/key-vault-soft-delete-powershell.md).
31+
- [How to use soft-delete with CLI](../../key-vault/key-vault-soft-delete-cli.md).
32+
33+
Only RSA keys of size 2048 are supported with Azure Storage encryption. For more information about keys, see **Key Vault keys** in [About Azure Key Vault keys, secrets and certificates](../../key-vault/about-keys-secrets-and-certificates.md#key-vault-keys).
2534

2635
## Enable customer-managed keys
2736

@@ -40,31 +49,53 @@ After you enable customer-managed keys, you'll have the opportunity to specify a
4049

4150
To specify a key as a URI, follow these steps:
4251

43-
1. To locate the key URI in the Azure portal, navigate to your key vault, and select the **Keys** setting. Select the desired key, then click the key to view its settings. Copy the value of the **Key Identifier** field, which provides the URI.
52+
1. To locate the key URI in the Azure portal, navigate to your key vault, and select the **Keys** setting. Select the desired key, then click the key to view its versions. Select a key version to view the settings for that version.
53+
1. Copy the value of the **Key Identifier** field, which provides the URI.
4454

4555
![Screenshot showing key vault key URI](media/storage-encryption-keys-portal/key-uri-portal.png)
4656

4757
1. In the **Encryption** settings for your storage account, choose the **Enter key URI** option.
48-
1. In the **Key URI** field, specify the URI.
58+
1. Paste the URI that you copied into the **Key URI** field.
4959

5060
![Screenshot showing how to enter key URI](./media/storage-encryption-keys-portal/ssecmk2.png)
5161

62+
1. Specify the subscription that contains the key vault.
63+
1. Save your changes.
64+
5265
### Specify a key from a key vault
5366

5467
To specify a key from a key vault, first make sure that you have a key vault that contains a key. To specify a key from a key vault, follow these steps:
5568

5669
1. Choose the **Select from Key Vault** option.
57-
2. Choose the key vault containing the key you want to use.
58-
3. Choose the key from the key vault.
70+
2. Select the key vault containing the key you want to use.
71+
3. Select the key from the key vault.
5972

6073
![Screenshot showing customer-managed key option](./media/storage-encryption-keys-portal/ssecmk3.png)
6174

75+
1. Save your changes.
76+
6277
## Update the key version
6378

64-
When you create a new version of a key, you'll need to update the storage account to use the new version. Follow these steps:
79+
When you create a new version of a key, update the storage account to use the new version. Follow these steps:
80+
81+
1. Navigate to your storage account and display the **Encryption** settings.
82+
1. Enter the URI for the new key version. Alternately, you can select the key vault and the key again to update the version.
83+
1. Save your changes.
84+
85+
## Use a different key
86+
87+
To change the key used for Azure Storage encryption, follow these steps:
88+
89+
1. Navigate to your storage account and display the **Encryption** settings.
90+
1. Enter the URI for the new key. Alternately, you can select the key vault and choose a new key.
91+
1. Save your changes.
92+
93+
## Disable customer-managed keys
94+
95+
When you disable customer-managed keys, your account is encrypted with Microsoft-managed keys. To disable customer-managed keys, follow these steps:
6596

6697
1. Navigate to your storage account and display the **Encryption** settings.
67-
1. Specify the URI for the new key version. Alternately, you can select the key vault and the key again to update the version.
98+
1. Deselect the checkbox next to the **Use your own key** setting.
6899

69100
## Next steps
70101

articles/storage/common/storage-encryption-keys-powershell.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This article shows how to configure an Azure Key Vault with customer-managed key
2121

2222
> [!IMPORTANT]
2323
> Using customer-managed keys with Azure Storage encryption requires that two properties be set on the key vault, **Soft Delete** and **Do Not Purge**. These properties are not enabled by default. To enable these properties, use either PowerShell or Azure CLI.
24+
>
2425
> Only RSA keys and key size 2048 are supported.
2526
2627
## Assign an identity to the storage account

0 commit comments

Comments
 (0)