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

Lakehouse (Iceberg on ABFSS, GCS, or S3)

Create a Depot resource for a Lakehouse backed by ABFSS, GCS, or Amazon S3.

A Lakehouse Depot connects DataOS to an Iceberg-formatted data lakehouse stored on cloud object storage. It abstracts the underlying storage backend: Azure Blob File System Secure (ABFSS), Google Cloud Storage (GCS), or Amazon S3. It exposes tables through a unified Depot interface for scan, query, and read/write operations.

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+005: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 source system

The credentials you need depend on the storage backend you choose for your Lakehouse Depot.

  • Storage Account Name (account): The name of the Azure Storage account. Available in the Azure portal under your storage account settings, or from your Azure administrator.

  • Storage Account Key (az_account_key): The access key that authenticates requests to the Azure Storage account. Retrieve it from the Azure portal under the "Access keys" section of your storage account.

  • Container: The name of the Azure Blob Storage container that holds the Iceberg data.

  • Endpoint Suffix (endpointSuffix): The DNS suffix for the Azure storage endpoint, for example dfs.core.windows.net. Confirm with your Azure administrator.

  • Relative Path (relativePath): The path within the container that points to the Iceberg data root.

  • Data format (format): The table format: set to iceberg for a Lakehouse Depot.

  • Metastore URL (metastoreUrl): The URL of the REST catalog or Hive Metastore that manages Iceberg table metadata.

  • Metastore Relative Path (metastoreRelativePath): The relative path within the metastore used to resolve table locations.

  • GCS Bucket (bucket): The name of the Google Cloud Storage bucket that holds the Iceberg data. Find it in the Google Cloud Console under Storage.

  • GCP Service Account JSON Key (gcp_json_key): The JSON key file for a GCP service account with read/write access to the bucket. Generate it in IAM & Admin > Service Accounts > Add Key > JSON.

  • Relative Path (relativePath): The path within the bucket that points to the Iceberg data root.

  • Data format (format): The table format: set to iceberg for a Lakehouse Depot.

  • Metastore URL (metastoreUrl): The URL of the REST catalog or Hive Metastore that manages Iceberg table metadata.

  • Metastore Relative Path (metastoreRelativePath): The relative path within the metastore used to resolve table locations.

  • Endpoint (endpoint): The custom or standard GCS endpoint used to access the storage. Required for non-default regions or GCS-compatible services.

  • S3 Bucket (bucket): The name of the Amazon S3 bucket that holds the Iceberg data. Find it in the AWS S3 Console.

  • AWS Access Key ID (aws_access_key): The access key used to authenticate AWS API requests. Obtain it from the AWS IAM Console under your user's security credentials.

  • AWS Secret Access Key (aws_secret_key): The secret key paired with the Access Key ID. Available in the AWS IAM Console under your user's security credentials.

  • Relative Path (relativePath): The path within the S3 bucket that points to the Iceberg data root.

  • Data format (format): The table format: set to iceberg for a Lakehouse Depot.

  • Metastore URL (metastoreUrl): The URL of the REST catalog or Hive Metastore that manages Iceberg table metadata.

  • Metastore Relative Path (metastoreRelativePath): The relative path within the metastore used to resolve table locations.

  • Endpoint (endpoint): The custom or standard S3 endpoint used to access the storage. Required for non-default AWS regions or S3-compatible services.

Create a Lakehouse Depot

A Lakehouse Depot stores Iceberg tables on cloud object storage and exposes them through a REST catalog. Each Depot maps to a single storage backend (ABFSS, GCS, or S3). Follow the steps for your chosen backend.

Step 1: Create a Secret for securing Lakehouse credentials

Create a Secret Resource for your storage backend before creating the Depot:

Step 2: Create a Lakehouse Depot manifest file

Create a manifest file for your Lakehouse Depot. Use the template for the storage backend you chose.

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:

Last updated

Was this helpful?