MCPcopy Create free account
hub / github.com/apache/arrow / WrongTypeKmsClient

Class WrongTypeKmsClient

python/pyarrow/tests/parquet/test_encryption.py:409–420  ·  view source on GitHub ↗

This is not an implementation of KmsClient.

Source from the content-addressed store, hash-verified

407 kms_connection_config = pe.KmsConnectionConfig()
408
409 class WrongTypeKmsClient():
410 """This is not an implementation of KmsClient.
411 """
412
413 def __init__(self, config):
414 self.master_keys_map = config.custom_kms_conf
415
416 def wrap_key(self, key_bytes, master_key_identifier):
417 return None
418
419 def unwrap_key(self, wrapped_key, master_key_identifier):
420 return None
421
422 def kms_factory(kms_connection_configuration):
423 return WrongTypeKmsClient(kms_connection_configuration)

Callers 1

kms_factoryFunction · 0.85

Calls

no outgoing calls

Tested by 1

kms_factoryFunction · 0.68