code: def create_encryption_config():
      return pe.EncryptionConfiguration(
          footer_key=FOOTER_KEY_NAME,
          plaintext_footer=False,
          column_keys={COL_KEY_NAME: ["n_legs", "animal"]},
          encryption_algorithm="AES_GCM_V1",
          # requires timedelta or an assertion is raised
          cache_lifetime=timedelta(minutes=5.0),
          data_key_length_bits=256,
      )
  
file_path: arrow/python/pyarrow/tests/test_dataset_encryption.py
imports: from datetime import timedelta
  import pyarrow.fs
  import pyarrow
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: create_encryption_config() and returns: pe