For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Snowflake

Create a Depot resource for Snowflake databases and schemas.

To create a Snowflake 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

  • Snowflake Account URL: The unique URL used to access your Snowflake account, typically in the format https://<account_name>.snowflakecomputing.com. You can retrieve this from your Snowflake admin or find it in your Snowflake login credentials email.

  • Snowflake Account Identifier: The unique identifier assigned to the Snowflake account, usually consisting of letters and numbers. Obtain this information from the Snowflake admin or check it in the Snowflake account details.

  • Warehouse: The name of the warehouse in Snowflake that you require access to. Locate this information in the Snowflake console under Warehouses or consult the team responsible for managing the Snowflake environment.

  • Database: The name of the database in Snowflake that you need to connect to. You can find this in the Snowflake console under the Databases section or by consulting the team managing the Snowflake environment.

  • Schema (optional): The specific schema within the Snowflake database where your required table resides. This can also be found in the Snowflake console under the relevant database or provided by the team managing the database structure.

  • Snowflake Role: The role that determines the Snowflake user's privileges and access. This attribute is optional in the Secret manifest. If omitted, the system uses the PUBLIC role. It is recommended that you specify the role to enforce the required permissions when creating a data product using Snowflake engine.

Create a Snowflake Depot

A Depot reads data from Snowflake tables without copying the data into DataOS. Snowflake is a SaaS cloud data warehouse with a SQL engine built for cloud infrastructure. To create a Depot of type snowflake, follow these steps:

Step 1: Create a Secret for securing Snowflake credentials

Create a Secret Resource using the Snowflake guide.

Step 2: Create a Snowflake Depot manifest file

Create a manifest file for your Snowflake Depot. Reference the Secret by name in the Depot manifest as shown in the template below.

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?