Name | Type | Description | Required? | Pipeline Input | Default Value |
---|
Cluster | Cluster[] | Specifies the vSAN cluster on which you want to start encryption configuration of the vSAN objects. | true | True (ByValue) |
AllowReducedRedundancy | Boolean | This optional parameter is applicable to specific vSAN cluster reconfigure operations that need to migrate data for changing the vSAN disk format across the cluster. When specified, the process might move less data to ensure storage object accessibility, and some objects might be kept at "reduced redundancy" state, which means at a higher risk in case of a hardware failure during the migration process. The default value is $false. | false | False |
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | False |
DeepRekey | SwitchParameter | Specifies that you want to perform a deep rekey operation. When a deep rekey operation is running, all disks are re-encrypted with new data encryption keys. The deep rekey operation takes long time to finish. | false | False |
EncryptionEnabled | Boolean | Specifies whether you want to enable or disable encryption. | false | False |
EraseDisksBeforeUse | Boolean | Specifies whether the disk should be formatted when a normal disk is converted to an encrypted disk, it is claimed as encrypted disk, or it runs deep rekey. If the value of this parameter is $true, every sector on the disk is written with random data. Disk cleanup reduces the possibility of data leak and increases the potential intruder's cost to reveal sensitive data. Turn the disk cleanup on only when necessary, as it takes long time to finish. If the value of this parameter is $false, the disk will not be formatted. | false | False |
KmsCluster | KmsCluster | Specifies the key provider you want to use for encryption. | false | False |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | False |
ShallowRekey | SwitchParameter | Specifies that you want to perform a shallow rekey operation. When a shallow rekey operation is running, only the key encryption key (KEK) is changed and the data encryption keys (DEKs) are re-wrapped with new key encryption keys. | false | False |
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | False |
-------------------------- Example 1 --------------------------
Start-VsanEncryptionConfiguration -Cluster $vsanCluster -EncryptionEnabled $true -KmsCluster 'ThalesCluster'
Enables encryption on the $vsanCluster vSAN cluster with 'ThalesCluster' as the key provider.
-------------------------- Example 2 --------------------------
Start-VsanEncryptionConfiguration -Cluster $vsanCluster -EncryptionEnabled $false
Disables encryption on the $vsanCluster vSAN cluster.
-------------------------- Example 3 --------------------------
Start-VsanEncryptionConfiguration -Cluster $vsanCluster -DeepRekey
Performs a deep rekey operation on all disks of the $vsanCluster vSAN cluster. All data on the disks is re-encrypted.
-------------------------- Example 4 --------------------------
Start-VsanEncryptionConfiguration -Cluster $vsanCluster -ShallowRekey
Performs a shallow rekey operation on all disks of the $vsanCluster vSAN cluster. All data encryption keys are re-wrapped with new key encryption key. Data on the disks is not re-encrypted.