adamreeve commented on issue #47435: URL: https://github.com/apache/arrow/issues/47435#issuecomment-3243269504
Yes `internal_key_material` is only relevant if using the higher level API (and it does look like it's [exposed in Python](https://arrow.apache.org/docs/python/generated/pyarrow.parquet.encryption.EncryptionConfiguration.html#pyarrow.parquet.encryption.EncryptionConfiguration.internal_key_material) already). > Overall, exposing a low-level API in Python would be the preferred approach for us. OK great. Is this something you would be able to contribute? The Parquet writing and reading methods in PyArrow already accept [`FileEncryptionProperties`](https://github.com/apache/arrow/blob/5b5f25c10be19dbff26c7a7d1a93a8e2a511c645/python/pyarrow/_parquet.pxd#L138) or [`FileDecryptionProperties`](https://github.com/apache/arrow/blob/5b5f25c10be19dbff26c7a7d1a93a8e2a511c645/python/pyarrow/_parquet.pxd#L25), but at the moment you can only generate them using a `CryptoFactory`. You'd need to add methods to construct these directly using the encryption keys and key metadata. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org