New-VBREncryptionOptions
Short Description
Defines encryption settings.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Disabled (Default)New-VBREncryptionOptions [-EnableEncryption] [<CommonParameters>]
-
PasswordDecryptionNew-VBREncryptionOptions [-EnableEncryption] -EncryptionKey <VBREncryptionKey> [<CommonParameters>]
-
KmsDecryptionNew-VBREncryptionOptions [-EnableEncryption] -KMSServer <VBRKMSServer> -KMSSourceName <String> [<CommonParameters>]
Detailed Description
This cmdlet creates the VBREncryptionOptions object that defines encryption options.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
EnableEncryption |
Enables encryption.
Default: |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
EncryptionKey |
Specifies an encryption key. Veeam Backup & Replication will use this key to encrypt backup files.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
KMSServer |
Specifies the KMS server you want to use to encrypt the data.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
KMSSourceName |
Specifies the displayed name for the key. The cmdlet will create a key and include this name into the key name on the KMS server. |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBREncryptionOptions object that defines encryption options.
Examples
Example 1. Creating Encryption Options with Encryption Key
|
This example shows how to define encryption options with the encryption using an encryption key.
Perform the following steps:
|
Example 2. Creating Encryption Options with KMS
|
This example shows how to define encryption options with the encryption using a KMS server.
Perform the following steps:
|
Related Commands
Get-VBREncryptionKeyReturns encryption keys.Get-VBRKMSServerReturns KMS servers added to the Veeam Backup & Replication console.