Available on the Enterprise plan.
Also requires the Performance M or higher 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 encryption key 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 source SQL in Explore
or SQL Runner:
extension column
holds the key’s ID, e.g., {"parquet_key":{"mode":"encrypted","key_id":"8",...}},
where 8 is the ID shown on the Encryption keys page. For a partition
that isn’t encrypted, extension is null.
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.