Skip to main content

Add credentials

  1. Create a new pipeline or open an existing pipeline.
  2. Expand the left side of your screen to view the file browser.
  3. Scroll down and click on a file named io_config.yaml.
  4. Enter the following keys and values under the key named default (you can have multiple profiles, add it under whichever is relevant to you)

Using Python block

  1. Create a new pipeline or open an existing pipeline.
  2. Add a data loader or transformer block (the code snippet below is for a data loader).
  3. Select Generic (no template).
  4. Enter this code snippet (note: change the config_profile from default if you have a different profile):
  5. Run the block.

MinIO Support

To execute requests on MinIO databases, simply add:
to the io_config.yaml file

Errors

S3 connection endpoint URL error Open the io_config.yaml file at the root of your project (e.g. default_repo/io_config.yaml). Change the value for the AWS_REGION key to the region of your S3 bucket (e.g. us-west-2).

Permissions

Ensure your AWS IAM user or role has the following permissions:
  • s3:GetObject
  • s3:PutObject
  • s3:ListBucket
These permissions are required to:
  • Read data from S3 (e.g. .csv, .parquet, .json)
  • Write query results or transformed data to S3
  • List contents of a bucket when needed