Microsoft SQL Server (MSSQL) or Azure SQL
Create a Depot resource for Microsoft SQL Server or Azure SQL.
To create a MSSQL 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
Host URL and Parameters: The URL or hostname of the SQL Server where the database is hosted. This is typically provided by the database administrator. Additional connection parameters (such as encryption settings or timeout values) might be needed depending on the specific requirements of the SQL Server and the connection method.
Database Schema: The schema in the Microsoft SQL Server where your tables and other database objects are located. This can be provided by the database administrator, and it helps define the structure and organization of the data within the database.
Port: The port number used to connect to the SQL Server. The default port for Microsoft SQL Server is
1433, but it might vary depending on the configuration. This information can be obtained from the database administrator.Username: The username used for authentication to the Microsoft SQL Server. This is typically provided by the database administrator or set up by the user account when created in the SQL Server.
Password: The password associated with the provided username for authentication. This password is securely stored and is required for establishing the connection to the SQL Server. It can be set when the user account is created and should be securely retrieved if forgotten.
Create a MSSQL Depot
A Microsoft SQL Server database has no dedicated Depot type: it connects through the generic jdbc Depot type with subprotocol: sqlserver, and reads from its tables. One Depot covers all tables within the configured schema. Create multiple Depots for multiple SQL Server servers or databases. To create a Depot for MSSQL, follow these steps:
Step 1: Create a Secret for securing MSSQL credentials
Create a Secret Resource using the Microsoft SQL Server (MSSQL) or Azure SQL guide.
Step 2: Create a MSSQL Depot manifest file
Create a manifest file for your MSSQL 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?