omalley commented on issue #20: Encryption in Data Files
URL: 
https://github.com/apache/incubator-iceberg/issues/20#issuecomment-443439624
 
 
   You typically don't want a new master key per a file, just a local file key. 
So the KMS shouldn't know or care about file or table paths. So for example, 
you could have an entire set of tables protected with the "pii" key.
   
   1. The "user" table property has encrypt with "pii" key.
   2. Each file has a unique file key that the KeyManager encrypts with the 
"pii" master key.
   
   So to write, the job needs to generate random file keys and have them 
encrypted. The KeyManager just needs the master key name and gives back the key 
version, the encrypted file key, and the unencrypted file key. To read, we need 
to decrypt the file key, so the job passes the master key name, the master key 
version, and the encrypted key to the KeyManager.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to