Virt guest disk image encryption use cases

From FedoraProject

Jump to: navigation, search

The low-level functionality is also available through virsh, but it's not expected users will access it that way.

Contents

Using a management server

Creating an encrypted volume

This applies both to creating volumes stand-alone, and as a part of creating a guest.

(The management server could create the volume directly, if the network architecture supports it.)

Setting up a guest that uses an encrypted volume

(The host can start the guest without any further communication with the management server.)

Destroying a guest that uses an encrypted volume

Migrating a guest

This is conceptually similar to setting up a guest on the destination host, and destroying the guest on the source host: the management server ensures volume key availability on the destination, and the source host deletes the keys after migration.

Changing the data encryption key

(This assumes re-encryption support in LVM crypt.)

(The management server could create the volume directly, if the network architecture supports it.)

Using virt-manager and other virt-* tools

Using virt-manager should behave similarly to the above-described set up with a system management server: each virt-manager configuration behaves as a separate management server, with a separate database of volume keys. Managing a single host from two different virt-manager configurations will not be initially supported.

Command-line virt-* tools will share the volume key database with the local virt-manager configuration; other than a flag that corresponds to the "Encrypt this volume" checkbox, changes to the interface of these tools will probably not be necessary.