Repository navigation
API: Define RotateEncryptionKeys action interface - #18440
dramaticlly wants to merge 3 commits into
Conversation
Re-wrapping every key in a table means rewriting every manifest, which is cost prohibitive for large iceberg tables. The level names the lowest key to regenerate: the keys above it are regenerated too, the keys directly below it are re-wrapped under the new ones, and the keys further below are left unchanged. Generated-by: Claude Code
|
@ggershinsky do you think if it's ok to start with KEY_ENCRYPTION_KEY and MANIFEST_KEY depth level? We can always add data file key later in the enum if there's need for the expensive key replacement. |
|
sure, makes sense |
|
there should also be a MANIFEST_LIST_KEY level, between these two? |
|
Thinking of this, we might want to refocus / rename the action, from
|
Also add SNAPSHOT_KEY level to the enum
|
Thanks @ggershinsky! I added the |
|
Yep, I think |
First step of #18240 to define action interface to allow rewrap of encrypted iceberg table.
Added configurable depth level to control how deep the encryption key of iceberg metadata shall be regenerated.
Thought about the option to introduce a new flag on the existing RewriteManifests action and procedure and it was discarded to avoid combining security operation inside a re-clustering/optimizing call, also rewrite manifests can only focused on single partition spec.