How KMS Works

When you add the KMS server in the Veeam Backup & Replication console and start using KMS keys for data encryption, Veeam Backup & Replication asks the KMS server to generate an asymmetric KMS key for the required job or repository. Veeam Backup & Replication stores a public key in the configuration database and uses it for data encryption. The KMS server stores a private key and uses it for data decryption.

How KMS Works 

Backup files encrypted with the KMS solution are decrypted automatically when you import them. You need to decrypt backup files manually only in the following situations:

  • You import backup files to a new Veeam Backup & Replication installation that is not connected to the KMS server yet.
  • You use VBK files to import backups. Also, a part of the backup chain is encrypted with the KMS solution, the other part is encrypted with the password-based keys.
  • On a new Veeam Backup & Replication installation, you run separate catalog jobs for tapes encrypted with the KMS solution and tapes encrypted with password-based keys.

Note

In case of a KMS server failure, backup jobs that use the KMS keys for data encryption will fail. To decrypt backup files, you can use Veeam Backup Enterprise Manager if the encryption password loss protection is enabled. For more information, see Managing Encryption Keys in the Veeam Backup Enterprise Manager Guide.

The KMS server rotates KMS keys at a time interval specified in the KMS policies. To get updates from the KMS server, Veeam Backup & Replication runs a system job. During the job session, Veeam Backup & Replication performs the following steps:

  1. Sends a request to the KMS server and gets information about recently rotated KMS keys if there are any.
  2. Updates public keys in the Veeam Backup & Replication configuration database.

By default, the Veeam Backup & Replication system job runs every 24 hours. If you want to change the default time period, contact Veeam Customer Support.

Page updated 2/13/2024

Page content applies to build 12.2.0.334