ChanTheDataExplorer opened a new issue, #43426: URL: https://github.com/apache/arrow/issues/43426
### Describe the usage question you have. Please include as many useful details as possible. Hi, I'm trying to use the columnar encryption but having problem to make it work. Below is the sample code ``` KMS_KEY_ARN= 'arn:aws:kms:ap-southeast-1:643458469770:key/4c9195a3-bb54-40d3-b199-9f9bf6ea9dcf' FOOTER_KEY_NAME = "footer_key" COL_KEY_NAME = "column_key" table = pa.Table.from_pydict({ 'a': ['hello'], 'b': ['goodbye'], 'c': ['womp'] }) encryption_config = pe.EncryptionConfiguration( footer_key=KMS_KEY_ARN, column_keys={ KMS_KEY_ARN: ["a", "b", "c"], }, encryption_algorithm="AES_GCM_V1", cache_lifetime=timedelta(minutes=5.0), data_key_length_bits=256 ) kms_connection_config = pe.KmsConnectionConfig( custom_kms_conf={ FOOTER_KEY_NAME: FOOTER_KEY_ARN, COL_KEY_NAME: FOOTER_KEY_ARN, } ) crypto_factory = pe.CryptoFactory(kms_factory) file_encryption_properties = crypto_factory.file_encryption_properties( kms_connection_config, encryption_config) with pq.ParquetWriter(path, table.schema, encryption_properties=file_encryption_properties) as writer: writer.write_table(table) ``` ### Component(s) Python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org