Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Amazon S3

Create a Depot resource for Amazon S3 buckets.

Pre-requisites specific to DataOS

A user with the Tenant Admin, Data Admin, or Data Developer Tenant role can create a Depot.

See Depot: Access control for who can create a Depot and how access to it is managed.

Run this command to see your assigned roles.

dataos-ctl user get
#Expected Output: 
time="2026-03-30T17:49:18+05:30" level=info msg="😃 user get..."
time="2026-03-30T17:49:19+05:30" level=info msg="😃 user get...complete"

     NAME     │        ID         │  TYPE  │        EMAIL         │                  TAGS
──────────────┼───────────────────┼────────┼──────────────────────┼────────────────────────────────────────
 I Am Groot   │ iamgroottmdcio    │ person │ iam.groot@tmdc.io    │ roles:id:ct-onboarding-data-developer,
              │                   │        │                      │ roles:id:user,
              │                   │        │                      │ users:id:iamgroottmdcio

Pre-requisites specific to the S3 Depot

To create an S3 Depot, you must have the following details:

  • AWS access key ID: The Access Key ID used to authenticate and authorize API requests to your AWS account. This can be obtained from the AWS IAM (Identity and Access Management) Console under your user’s security credentials or requested from your AWS administrator.

  • AWS bucket name: The name of the Amazon S3 bucket where the data resides. You can find this in the AWS S3 Console under the list of buckets or request it from the administrator managing the storage.

  • Secret access key: The Secret Access Key associated with your AWS Access Key ID, is required for secure API requests. This is available in the AWS IAM Console under your user’s security credentials. Ensure that it is securely stored and shared only with authorized personnel.

  • Scheme: The scheme specifies the protocol to be used for the connection, such as s3 or https. This information depends on your system’s configuration and can be confirmed with the team managing the connection setup.

  • Relative Path: The path within the S3 bucket that points to the specific data or folder you want to access. This path is typically structured according to how your data is organized and can be obtained from the team managing the data or the AWS S3 Console.

  • Data format (format): format specifies the type of table format used to store the data in the container. Common values are iceberg or delta, depending on how the data is organized.

  • Region: The AWS region where the S3 bucket is hosted (e.g., us-east-1, us-gov-east-1). If the region is not specified, DataOS will use the default AWS region.

  • Endpoint: The custom or standard S3 endpoint used to access the storage. Required when working with non-default AWS regions or S3-compatible services. Example: ${{s3.us-gov-east-1.amazonaws.com}}

Create an S3 Depot

Amazon S3 is an object storage system: a distributed store for large volumes of unstructured data.

A Depot of type s3 reads data from Amazon S3 buckets. The Depot exposes the configured bucket and path for scan, query, and read/write operations. To create an S3 Depot, follow these steps:

Step 1: Create a Secret for securing S3 credentials

Create a Secret Resource using the Simple Storage Service (Amazon S3) guide.

Step 2: Create a S3 Depot manifest file

Create a manifest file for your S3 Depot.

Step 3: Apply the Depot manifest file

Apply the manifest with the DataOS CLI:

Verify the Depot creation

Verify the Depot in two ways:

  • List Depots where you are the owner:

  • List all Depots in the current Tenant:

Delete a Depot

To delete a Depot, use the DataOS CLI:

Specify the Resource type and Depot name in the delete command.

Example:

Limit the data source's file format

A Depot can also limit the file types it reads and writes. Set the format field in the spec section to the file format you want to allow.

The s3 Depot type does not expose a metastore catalog setting. It has no catalogType field. If you need to choose the Iceberg metastore catalog (Hadoop or Hive) for S3-backed data, use the Lakehouse Depot type instead, which supports an icebergCatalogType field for its S3 storage backend.

Last updated

Was this helpful?