Encryption keys
The Encryption Keys page in Cube Cloud allows to manage data-at-rest encryption in Cube Store.Available on the Enterprise Premier plan.
Also requires the M Cube Store Worker tier.
Customer-managed keys for Cube Store
On the Encryption Keys page, you can see all previously provided keys:Add a key
To add an encryption key, click Create to open a modal window. Provide the key name and the key value: an 256-bit AES encryption key, encoded in standard Base64 in its canonical representation.Invalid Parquet file in encrypted mode. File (or at least the Parquet footer) is not encrypted.
It may take a few minutes for any changes to encryption keys to take effect.
Rotate a key
To rotate an encryption key, you have to add a new key and then rebuild pre-aggregation partitions using this key, either by the means of the refresh worker, or manually. You can check which encryption key is used by any pre-aggregation partition by queryingsystem.tables in Cube Store via SQL Runner:
If you’re using incremental pre-aggregations, the
refresh worker will likely only rebuild some of their partitions. You have to rebuild
them manually to ensure that the new encryption key
is used.