Skip to content

Commit 637b5c2

Browse files
committed
fix line breaks
1 parent eb154c5 commit 637b5c2

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

articles/storage/common/account-encryption-key-create.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,21 @@ To register to use the account encryption key with Queue or Table storage, use P
3838
To register with PowerShell, call the [Get-AzProviderFeature](/powershell/module/az.resources/get-azproviderfeature) command.
3939

4040
```powershell
41-
Register-AzProviderFeature -ProviderNamespace Microsoft.Storage -FeatureName AllowAccountEncryptionKeyForQueues
42-
Register-AzProviderFeature -ProviderNamespace Microsoft.Storage -FeatureName AllowAccountEncryptionKeyForTables
41+
Register-AzProviderFeature -ProviderNamespace Microsoft.Storage `
42+
-FeatureName AllowAccountEncryptionKeyForQueues
43+
Register-AzProviderFeature -ProviderNamespace Microsoft.Storage `
44+
-FeatureName AllowAccountEncryptionKeyForTables
4345
```
4446

4547
# [Azure CLI](#tab/azure-cli)
4648

4749
To register with Azure CLI, call the [az feature register](/cli/azure/feature#az-feature-register) command.
4850

4951
```azurecli
50-
az feature register --namespace Microsoft.Storage --name AllowAccountEncryptionKeyForQueues
51-
az feature register --namespace Microsoft.Storage --name AllowAccountEncryptionKeyForTables
52+
az feature register --namespace Microsoft.Storage \
53+
--name AllowAccountEncryptionKeyForQueues
54+
az feature register --namespace Microsoft.Storage \
55+
--name AllowAccountEncryptionKeyForTables
5256
```
5357

5458
# [Template](#tab/template)
@@ -66,17 +70,21 @@ To check the status of your registration for Queue or Table storage, use PowerSh
6670
To check the status of your registration with PowerShell, call the [Get-AzProviderFeature](/powershell/module/az.resources/get-azproviderfeature) command.
6771

6872
```powershell
69-
Get-AzProviderFeature -ProviderNamespace Microsoft.Storage -FeatureName AllowAccountEncryptionKeyForQueues
70-
Get-AzProviderFeature -ProviderNamespace Microsoft.Storage -FeatureName AllowAccountEncryptionKeyForTables
73+
Get-AzProviderFeature -ProviderNamespace Microsoft.Storage `
74+
-FeatureName AllowAccountEncryptionKeyForQueues
75+
Get-AzProviderFeature -ProviderNamespace Microsoft.Storage `
76+
-FeatureName AllowAccountEncryptionKeyForTables
7177
```
7278

7379
# [Azure CLI](#tab/azure-cli)
7480

7581
To check the status of your registration with Azure CLI, call the [az feature](/cli/azure/feature#az-feature-show) command.
7682

7783
```azurecli
78-
az feature show --namespace Microsoft.Storage --name AllowAccountEncryptionKeyForQueues
79-
az feature show --namespace Microsoft.Storage --name AllowAccountEncryptionKeyForTables
84+
az feature show --namespace Microsoft.Storage \
85+
--name AllowAccountEncryptionKeyForQueues
86+
az feature show --namespace Microsoft.Storage \
87+
--name AllowAccountEncryptionKeyForTables
8088
```
8189

8290
# [Template](#tab/template)
@@ -133,13 +141,13 @@ The following example shows how to create a general-purpose v2 storage account t
133141

134142
```powershell
135143
New-AzStorageAccount -ResourceGroupName <resource_group> `
136-
-AccountName <storage-account> `
137-
-Location <location> `
138-
-SkuName "Standard_RAGRS" `
139-
-Kind StorageV2 `
140-
-EncryptionKeyTypeForTable Account `
141-
-EncryptionKeyTypeForQueue Account
142-
```
144+
-AccountName <storage-account> `
145+
-Location <location> `
146+
-SkuName "Standard_RAGRS" `
147+
-Kind StorageV2 `
148+
-EncryptionKeyTypeForTable Account `
149+
-EncryptionKeyTypeForQueue Account
150+
```
143151
144152
# [Azure CLI](#tab/azure-cli)
145153
@@ -217,7 +225,8 @@ To verify that a service in a storage account is using the account encryption ke
217225
To verify that a service in a storage account is using the account encryption key, call the [Get-AzStorageAccount](/powershell/module/az.storage/get-azstorageaccount) command. This command returns a set of storage account properties and their values. Look for the `KeyType` field for each service within the `Encryption` property and verify that it is set to `Account`.
218226

219227
```powershell
220-
$account = Get-AzStorageAccount -ResourceGroupName <resource-group> -StorageAccountName <storage-account>
228+
$account = Get-AzStorageAccount -ResourceGroupName <resource-group> `
229+
-StorageAccountName <storage-account>
221230
$account.Encryption.Services.Queue
222231
$account.Encryption.Services.Table
223232
```

0 commit comments

Comments
 (0)