CLI command references
The dataos-ctl commands Operators and Tenant Admins use to provision, run, and govern a Tenant from the terminal.
The DataOS CLI (dataos-ctl) is the primary tool for Instance- and Tenant-level administration. This page covers the commands used by the two administrative roles:
Operator: provisions the Instance and creates and manages Tenants.
Tenant Admin: manages a Tenant day to day.
Use this page to find the commands for each role, then see the full command reference for flags, output, and examples.
Before you begin
Both roles need the CLI installed and pointed at the Instance before running anything below.
Install and verify: see CLI setup, or the Installation section of the reference.
Create a context and log in:
dataos-ctl initcreates a local context (Instance FQDN + Tenant), anddataos-ctl loginauthenticates against it.
dataos-ctl init
Create a local context pointing at an Instance and Tenant
dataos-ctl login
Authenticate the CLI against the active context
dataos-ctl tenant list
List the contexts configured locally and show the active one
dataos-ctl tenant select --name <context>
Switch the active context
dataos-ctl health
Check that the CLI can reach and authenticate against the Instance
dataos-ctl version --all
Print CLI and Instance versions
Operator commands
An Operator works at the Instance level: provisioning the Data Plane, standing up Tenants, and deploying the mandatory Stacks and Secrets. The provisioning runbooks below are the authoritative, step-by-step source; the tables here are the command shorthand.
Provision the Data Plane
Data Plane provisioning uses the domain command group against the system Tenant. These commands are Operator-only and are documented in the per-cloud runbooks rather than the general CLI reference.
dataos-ctl domain apply -f <dataplane.yaml>
Install the Data Plane on the target cluster
dataos-ctl domain get
List the Domains (Data Planes) you created
dataos-ctl domain get -a
List all Domains, including those created by others
dataos-ctl domain get -t dataplane -n <name> -d
Show detailed status of one Data Plane
dataos-ctl domain task run
Run a provisioning task against a Data Plane
→ Runbooks: Provision Data Plane · AWS · Azure
Deploy Stacks
A Stack is a Resource type — there is no separate stack command group. Stacks are applied and inspected with the ordinary resource apply / resource get commands, the same as any other Resource. The one Stack-specific detail is --disable-interpolation, which stops Instance-level placeholders in the artifact from being expanded at apply time.
dataos-ctl resource apply -f <stack.yaml> --disable-interpolation
Deploy a Stack manifest
dataos-ctl resource get -t stack -a
List Stacks and confirm they are healthy
→ Runbooks: Deploy Stacks → Full reference: resource commands
Tenant Admin commands
A Tenant Admin runs a single Tenant: provisioning Compute, connecting data sources, managing users and roles, and watching Tenant health. All of this is dataos-ctl work.
Compute, Depots, and Secrets
Compute, Depots, and Secrets are all Resources, so they share the resource apply / resource get pattern.
dataos-ctl resource apply -f <compute.yaml>
Create or update Compute
dataos-ctl resource apply -f <secret.yaml>
Create a
dataos-ctl user get --all
List every user in the Tenant
dataos-ctl user create --name <name> --email <email> --type person
Create a user
dataos-ctl user tag add --id <user-id> --tags roles:id:<role>
Assign a role to a user
dataos-ctl user tag delete --id <user-id> --tags roles:id:<role>
Remove a role from a user
dataos-ctl user apikey create --id <user-id> --name <key-name>
Issue an API key for a user
dataos-ctl user changes get --id <user-id>
Review a user's audit history
→ Runbook: Manage access → Full reference: user commands
Monitor Tenant health
dataos-ctl resource get -t compute
Check Compute health across the Tenant
dataos-ctl resource get -t compute -n <name> -d
Detailed status of one Compute
dataos-ctl resource get -t workflow -a
List Workflows across the Tenant
→ Runbook: Monitoring
Full command reference
The tables above are role shorthand. The complete command set — every flag, alias, and sample output — lives in References:
CLI overview: install, connect,
version,init,login,tenant,health,depot,doc,tui.Resource commands: apply, inspect, run, and delete any Resource type.
User commands: users, API keys, and role tags.
Lakehouse commands: Iceberg tables, branches, schema, and snapshots (Data Admin territory).
Last updated
Was this helpful?