concept hardware security module in category azure
appears as: hardware security modules, hardware security module

This is an excerpt from Manning's book Learn Azure in a Month of Lunches, Second Edition.
Create a key vault with the azkeyvaultcreatecommand; specify the resource group you created in the previous exercise, such as azuremolchapter14; and then provide a unique name for your key vault, such asazuremolkeyvault: Let’s pause and think about why you add a parameter for--enabled-for-disk-encryption. When you encrypt a VM, the Azure platform needs to be able to start and decrypt the VM so that it can run. The Azure platform doesn’t have any permissions to access that data, and Microsoft doesn’t have access to view and use those encryption keys for anything other than starting a VM. When you enable a key vault for disk encryption, you grant permissions for Azure to access the key vault and use the encryption key associated with a VM. Again, Microsoft doesn’t have access to these keys or your data--only the ability to start your encrypted VM. It’s pretty hard to do much with an encrypted VM when it can’t boot. Figure 14.5 shows how the Azure platform uses the encryption key to start an encrypted VM. Keys can be created and stored in software, or they can be stored in hardware security modules (HSMs) for additional security. For many purposes, software keys work great, although you may have security mandates that require the use of HSMs. We’ll discuss this topic more in chapter 15.
Before we jump into a hands-on example of how to create and use a key vault, it’s important to understand the way your secure information is stored in a vault. As shown in figure 15.2, all the keys, secrets, and certificates in a key vault are stored in a hardware security module (HSM). These devices aren’t unique in Azure; they’re industrywide hardware devices that provide a high level of security for any data stored on them.