unRAID 6.4 introduces encrypted volumes and allows individual disks to be protected by encryption.
The passphrase or keyfile which is used to unlock encryption is not permanently stored on the system itself, this means that upon a system start one has to re-enter the passphrase or re-select the keyfile. Until then the array can not start and the GUI will report a "missing key".
But what if we want to auto-start the array and not keep a local copy on the system itself? It ki
A small variation if you want the key to be not locally present on the system when operational, the key is only needed during startup of the array.
In the go file the following is included before starting emhttp.
# auto unlock array
install -D /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/starting/fetch_key
install -D /boot/custom/bin/delete_key /usr/local/emhttp/webGui/event/started/delete_key
install -D /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/stoppe