@dlandon has updated the Unassigned Devices plugin to allow us to mount encrypted drives. However support for formatting the drives as encrypted is not yet working in UD. Is there a commandline way to do this? I will have encrypted drives outside the array.
The reason that UD does not allow formatting of an encrypted disk is the management of the key phrase and the possibility of "locking the keys in the car". You can mount a disk formatted in the array as long as there is an array disk mounted with encryption so the key phrase is available for UD to use.
Right now you have to enter the key phrase to start the array. If you had disks in UD mounted with a different key phrase than the array, you'd have to enter each key phrase manually