Loading…
Loading documentation...
Available commands in @serversareup/cli v0.2
Reference for the sau binary (@serversareup/cli v0.2). This documents only commands that exist today in packages/cli. Every command supports global output formatting (-o, --output <json|jsonc|table|tsv|yaml|none>) and JMESPath-style field selection (--query <expr>).
Run
sau --helporsau <command> --helpfor the live flag list.
# Save a personal access token (validates against /api/v1/account)
sau auth login --token sau_your_token
# Optional: override API base (default https://serversareup.com)
sau auth login --token sau_your_token --base-url https://serversareup.com
# Show the account tied to the active token
sau auth whoami
# Inspect or set defaults (group, location, output, aiWriteMode, theme, density)
sau config show --remote
sau config set output table
# Remove ~/.config/sau/config.json
sau auth logout
Environment alternative: export SAU_API_TOKEN=sau_your_token (skips saved config).
# Table or JSON output
sau instances list -o table
sau instances ls # alias
sau instances list --json
# Single instance
sau instances get ins_abc123
sau instances get ins_abc123 --json
# Power actions: POST /api/v1/instances/{id}/power
sau instances power ins_abc123 start
sau instances power ins_abc123 stop
sau instances power ins_abc123 restart
# Guest SSH details & command execution
sau instances ssh ins_abc123 --json
sau instances exec ins_abc123 -- uname -a
# Snapshots & backups
sau snapshots list ins_abc123
sau backups list ins_abc123
# Resource Groups, universal tags, management locks & RBAC (cloud:read / cloud:write)
sau group list -o table
sau group create rg-prod -l us-central-sau-1 --tags env=prod
sau group export -f hcl -g rg-prod
sau tag create /instances/ins_abc123 env=prod,tier=web
sau lock create prod-lock --level CanNotDelete --group rg-prod
sau role list
# Managed Cloud Storage hosted via Microsoft Azure, Cloud DB & Key Vault
sau storage blobs-list -o table
sau cosmosdb list -o table
sau keyvault list -o table
# Cloud Identity, SIEM/SOAR, Security Posture, Networking & Managed SaaS
sau security posture -o table
sau sentinel show
sau entra show
sau network list
sau saas catalog -o table
sau ssh-keys list
sau ssh-keys list --json
sau keys ls # alias group
Add/remove keys today via Access > SSH keys or POST/DELETE /api/v1/ssh-keys.
sau account # profile + token scopes (GET /api/v1/account)
sau billing usage # aggregate bandwidth & subscription telemetry
sau version
sau --version
# Stop every instance returned by the API
sau instances list --json | jq -r '.[].id' | while read -r id; do
sau instances power "$id" stop
done
| Need | Use |
|---|---|
| New instance creation | sau orders create or POST /api/v1/orders purchases a configured catalog offer through dashboard checkout authority; POST /api/v1/deploy is an alias |
| Recoverable instance deletion | sau instances delete <id> or REST API DELETE /api/v1/instances/{id} returns 202 and enters the recycle-bin lifecycle |
| Port forwards and exec | OpenAPI spec |
| AI assistant / IDE integration | MCP server |
Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.