Choosing a Key

When securing your data, it's crucial to use a strong password, especially if you’re planning to enter it manually.

For an even higher level of security, you can generate a keyfile using dd:

dd if=/dev/urandom of=keyfile bs=1 count=4096
(Generates a 4KB random keyfile)

Be aware: If you lose your key or keyfile, the encrypted data is unrecoverable. This is not unique to Volaris; it's the nature of encryption itself.

Options for Providing a Key

Volaris allows you to provide keys in several ways:

  • -k to specify the path to a keyfile.
  • --auto to let Volaris auto-generate a key.
  • Set the VOLARIS_KEY environment variable.
  • Provide a user-generated password (by running Volaris without any of the above).