CLI login
How the dominevo command line signs in — the upload-only token it keeps, where it is stored, logging out, and using a token instead.
The dominevo command line (which deploys addons and streams their logs)
signs in once and keeps a narrow token, never your password.
dominevo loginWith no options it finds the hub on the LAN (if there are several it offers a list), then asks for your username and password. Options:
| Option | Meaning |
|---|---|
-s, --server <url> | Use this hub address and skip discovery. |
-u, --username <name> | Skip the username prompt. |
-p, --password <pwd> | Skip the password prompt. Prefer the prompt: a password on the command line ends up in your shell history. |
--token-name <name> | The token's name on the hub (default dominevo-cli@<this computer>). |
What it stores
The password is used once, to create a scoped token
for your user that can only list addons, read their logs and upload an addon —
it cannot uninstall anything or reach the rest of the hub. The token is saved
in ~/.camstack/<hub>.json, readable only by you. It appears on the hub under
Identity & Access → Tokens & sessions → Scoped tokens, where you can revoke it.
Logging in again to the same hub revokes the previous token first.
dominevo whoami # the active session: hub, user, token scopes
dominevo logout # revoke the token on the hub and delete the local fileScripts
Every hub command uses the session saved by dominevo login; there is no
flag or environment variable that carries a token. A script or a headless
machine logs in once, and the session then renews itself. The hub address
comes from --server, the DOMINEVO_SERVER environment variable, or the
saved session.