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

Google Cloud Storage (GCS)

Create a Depot resource for Google Cloud Storage buckets.

To create a GCS Depot you must have the following details:

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 source system

  • GCS Bucket: The name of the Google Cloud Storage bucket you want to access. You can find the bucket name in the Google Cloud Console under the "Storage" section, where all your buckets are listed.

  • Relative Path: The path to the specific file or directory within the GCS bucket. This path can be obtained by navigating to the file or directory in the Google Cloud Console and copying the relative path from the bucket.

  • GCS Project ID: The unique identifier of the Google Cloud project associated with the GCS bucket. This can be found in the Google Cloud Console under "Project Info" on your project dashboard.

  • GCS Account Email: The email address associated with the Google Cloud service account that has access to GCS. This can be found in the IAM & Admin section of the Google Cloud Console under the "Service Accounts" tab.

  • GCS Key: The JSON key file associated with the Google Cloud service account used for authentication. You can download this key by going to the IAM & Admin > Service Accounts section in the Google Cloud Console, selecting the service account, and clicking "Add Key" > "JSON".

  • 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.

  • Endpoint (endpoint): The custom or standard GCS endpoint used to access the storage. Required when working with non-default regions or GCS-compatible services. Example: storage.googleapis.com

Create a GCS Depot

A Depot connects to Google Cloud Storage and reads data from it. To create a Depot for Google Cloud Storage, follow these steps:

Step 1: Create a Secret for securing GCS credentials

Create a Secret Resource using the Google Cloud Storage (GCS) guide.

Step 2: Create a GCS Depot manifest file

Create a manifest file for your GCS 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:

Last updated

Was this helpful?