Skip to content

Commit 2599a66

Browse files
committed
return afec details
1 parent a70d39f commit 2599a66

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

articles/azure-netapp-files/configure-customer-managed-keys.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Before creating your first customer-managed key volume, you must set up:
104104
* The key must be of type RSA.
105105
* The key vault must have an [Azure Private Endpoint](../private-link/private-endpoint-overview.md).
106106
* The private endpoint must reside in a different subnet than the one delegated to Azure NetApp Files. The subnet must be in the same VNet as the one delegated to Azure NetApp.
107+
* You must register the feature before you can use customer-managed keys.
107108

108109
For more information about Azure Key Vault and Azure Private Endpoint, refer to:
109110
* [Quickstart: Create a key vault ](../key-vault/general/quick-create-portal.md)
@@ -113,6 +114,26 @@ For more information about Azure Key Vault and Azure Private Endpoint, refer to:
113114
* [Network security groups](../virtual-network/network-security-groups-overview.md)
114115
* [Manage network policies for private endpoints](../private-link/disable-private-endpoint-network-policy.md)
115116

117+
## Register the feature
118+
119+
You must register customer-managed keys before using it for the first time.
120+
121+
1. Register the feature:
122+
123+
```azurepowershell-interactive
124+
Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFAzureKeyVaultEncryption
125+
```
126+
127+
2. Check the status of the feature registration:
128+
129+
> [!NOTE]
130+
> The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to `Registered`. Wait until the status is **Registered** before continuing.
131+
132+
```azurepowershell-interactive
133+
Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFAzureKeyVaultEncryption
134+
```
135+
You can also use [Azure CLI commands](/cli/azure/feature) `az feature register` and `az feature show` to register the feature and display the registration status.
136+
116137
## Configure a NetApp account to use customer-managed keys
117138
118139
### [Portal](#tab/azure-portal)

articles/azure-netapp-files/create-cross-zone-replication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Cross-zone replication is currently in preview. You need to register the feature
4040
2. Check the status of the feature registration:
4141
4242
> [!NOTE]
43-
> The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to`Registered`. Wait until the status is **Registered** before continuing.
43+
> The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to `Registered`. Wait until the status is **Registered** before continuing.
4444
4545
```azurepowershell-interactive
4646
Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFCrossZoneReplication

0 commit comments

Comments
 (0)