Skip to content

Commit eba7a06

Browse files
authored
Update how-to-verify-encryption-status.md
1 parent 1f92dec commit eba7a06

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/virtual-machines/linux/how-to-verify-encryption-status.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ You can validate the **general** encryption status of an encrypted VM using the
8484

8585
You can capture the encryption settings from each individual disk using the following PowerShell commands:
8686

87-
**Single-Pass**
87+
### **Single-Pass**
8888
If single-pass the encryption settings are stamped in each of the disks (OS and Data).
8989
You can capture the OS disk encryption settings in single pass as follows:
9090

@@ -133,7 +133,7 @@ $VM = Get-AzVM -Name ${VMNAME} -ResourceGroupName ${RGNAME}
133133
```
134134
![Verify data single ps 001](./media/disk-encryption/verify-encryption-linux/verify-data-single-ps-001.png)
135135

136-
**Dual-Pass**
136+
### **Dual-Pass**
137137
In Dual Pass, the encryption settings are stamped in the VM model and not on each individual disk.
138138

139139
To verify the encryption settings were stamped in dual-pass, you can use the following commands:
@@ -157,7 +157,7 @@ Write-Host "====================================================================
157157
```
158158
![Verify dual pass PowerShell 1](./media/disk-encryption/verify-encryption-linux/verify-dual-ps-001.png)
159159

160-
**Unattached disks**
160+
### **Unattached disks**
161161

162162
Check the encryption settings for disks that aren't attached to a VM.
163163

@@ -185,7 +185,7 @@ az vm encryption show --name ${VMNAME} --resource-group ${RGNAME} --query "subst
185185
```
186186
![Verify general using CLI ](./media/disk-encryption/verify-encryption-linux/verify-gen-cli.png)
187187

188-
**Single Pass**
188+
### **Single Pass**
189189
You can validate the encryption settings from each individual disk using the following AZ CLI commands:
190190

191191
```bash
@@ -264,11 +264,11 @@ done
264264

265265
![Verify vm profile dual using CLI ](./media/disk-encryption/verify-encryption-linux/verify-vm-profile-dual-cli.png)
266266

267-
**Unattached disks**
267+
### **Unattached disks**
268268

269-
Check the encryption settings for disks that aren't attached to a VM:
269+
Check the encryption settings for disks that aren't attached to a VM.
270270

271-
**Managed disks**
271+
### **Managed disks**
272272

273273
```bash
274274
RGNAME="RGNAME"
@@ -281,7 +281,7 @@ echo -ne "Disk Encryption Key: "; az disk show -g ${RGNAME} -n ${TARGETDISKNAME}
281281
echo -ne "key Encryption Key: "; az disk show -g ${RGNAME} -n ${TARGETDISKNAME} --query encryptionSettingsCollection.encryptionSettings[].keyEncryptionKey.keyUrl -o tsv; \
282282
echo "============================================================================================================================================================="
283283
```
284-
**Unmanaged disks**
284+
### **Unmanaged disks**
285285

286286
Unmanaged disks are VHD files that are stored as page blobs in Azure storage accounts.
287287

@@ -305,15 +305,15 @@ Select the appropriate ID and store it on a variable:
305305
```bash
306306
id="/subscriptions/<subscription id>/resourceGroups/<resource group name>/providers/Microsoft.Storage/storageAccounts/<storage account name>"
307307
```
308-
The connection string:
308+
The connection string.
309309

310310
This command gets the connection string for one particular storage account and stores it on a variable:
311311

312312
```bash
313313
ConnectionString=$(az storage account show-connection-string --ids $id --query connectionString -o tsv)
314314
```
315315

316-
The container name:
316+
The container name.
317317

318318
The following command lists all the containers under a storage account:
319319
```bash
@@ -326,7 +326,7 @@ Store the container name on a variable
326326
ContainerName="name of the container"
327327
```
328328

329-
The disk name:
329+
The disk name.
330330

331331
Use this command to list all the blobs on a particular container
332332
```bash

0 commit comments

Comments
 (0)