atoti_aws package

Module contents

Plugin to load CSV and Parquet files from AWS S3 into atoti tables.

This package is required to load files with paths starting with s3://.

Authentication is handled by the underlying AWS SDK for Java library. Refer to their documentation for the available options.

See also

AwsConfig to configure how atoti interacts with AWS.

atoti_aws.create_aws_key_pair(*, region, private_key, public_key)

Create the key pair to use for client side encryption.

Parameters
  • region (str) – The AWS region to interact with.

  • private_key (str) – The private key.

  • public_key (str) – The public key.

Return type

ClientSideEncryption

atoti_aws.create_aws_kms_config(*, region, key_id)

Create the KMS configuration to use for client side encryption.

The AWS KMS CMK must have been created in the same AWS region as the destination bucket (Cf. AWS documentation).

Parameters
  • region (str) – The AWS region to interact with.

  • key_id (str) – The ID to identify the key in KMS.

Return type

ClientSideEncryption