Each namespace in an Aerospike Database Enterprise Edition cluster can be configured with Encryption at Rest.
aerolab conf generate
Select the checkbox next to ‘encryption at rest’ and hit CTRL+X to save aerospike.conf
.
Create a 3 node cluster with a custom configuration file, a custom feature license file and do not start aerospike yet.
$ aerolab cluster create -c 3 -o aerospike.conf -f /path/to/feature.conf -s n
# mac:
$ head -c 256 /dev/urandom >key.dat
# linux/WSL2:
$ head --bytes 256 /dev/urandom >key.dat
$ aerolab files upload key.dat /etc/aerospike/key.dat
$ aerolab aerospike start