Skip to main content

Module kms

Module kms 

Source
Available on crate features parquet_kms and parquet only.
Expand description

Parquet modular encryption with keys managed by a KMS, using a KMS client implemented in Python.

The KMS configuration can be serialized, so that queries can be run elsewhere, such as on Polars Cloud. The Python KMS client factory is pickled, and the KMS connection configuration is serialized as is, including the key access token.

Structsยง

KmsDecryption
Creates a new key unwrapper for each file.
KmsEncryption
Generates new data encryption keys for each file, wrapped using the KMS.
PyKmsConnectionConfig
Configuration for connecting to a KMS.
PythonCryptoFactory
A crypto factory that creates KMS clients by calling a Python function.