Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEK encryption doesn't do anything over BEK #496

Closed
makhdumi opened this issue Nov 29, 2017 · 1 comment
Closed

KEK encryption doesn't do anything over BEK #496

makhdumi opened this issue Nov 29, 2017 · 1 comment

Comments

@makhdumi
Copy link

makhdumi commented Nov 29, 2017

From the documentation, it seems as if the LUKS passphrase is stored and retrieved from Azure KeyVault.

But all that's done is the key is written to KeyVault. It's seemingly never, ever read back. The passphrase is read from /mnt/azure_bek_disk/LinuxPassPhraseFileName, which is never updated from Key Vault.

Am I missing something? Is the documentation just misleading? What's the point of storing the passphrase in Azure Key Vault?

I think I'm misunderstanding the point of KEK. Is it just a convenience to automatically save the key for you to Azure Key Vault, so that you can use it later without having to ever retrieve it from the VM? i.e. is KEK not an extra security measure?

@ejarvi
Copy link
Collaborator

ejarvi commented Mar 29, 2018

At a high level, the platform retrieves material from Key Vault and then provides it to the VM at time of boot. This process is similar to how attaching a USB key to a PC allows for unlock of an encrypted OS disk at boot.

Key Vault in turn provides the ability for customers to manage keys in this scenario. The permission for the platform to retrieve the key is granted on a per vault basis by each individual user that wants to opt in to disk encryption at the time of key vault provisioning, and remains customer managed after that.

With respect to KEK, the benefit of KEK on Linux is also primarily on the platform side, and its facilitation of platform capabilities such as HSM and Azure Backup for Managed Disks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants