Skip to main content
Version: 2.5

Configuration reference

The home configuration is ~/.config/tsm/config.yaml (on Windows %USERPROFILE%\.config\tsm\config.yaml). It stores no passwords or keys. Prefer the tsm cli config … and tsm context … commands to editing it by hand.

schemaVersion: 1
credentials:
storage: os
defaults:
context: dev
output: TABLE
projects:
tsm:
environments:
dev:
url: https://tsm-dev.k8s.datalite.cz
local: {}
contexts:
dev:
project: tsm
environment: dev
account: personal
tenant: default
local:
project: tsm
environment: local
tenant: default
workspaces:
demo:
path: /absolute/path/to/checkout
project: tsm
context: dev
  • credentials.storage: os (default, operating system credential store), file (encrypted file, unlocked by TSM_CREDENTIAL_PASSPHRASE) or memory.
  • projects.*.environments: an environment with url is a remote installation. An environment without url (here local) means the workspace's own local runtime (experimental).
  • contexts: environment + account + tenant.
  • workspaces: registered checkouts. context is the workspace default; runtime-profile selects its default local runtime profile. One directory belongs to one workspace.

Project, environment and account names are your own labels.