Log in with an API token
~/.stackdome/config.json and is created with user-only permissions.
Check the whoami result before deploying. It reports the server URL, organization ID, default project, authentication method, token source, and current stack when one is selected.
Use environment authentication
For an ephemeral CI or agent session, supply credentials without writing a token to the default config:STACKDOME_URL and STACKDOME_TOKEN override saved values for the current process. An environment token has no refresh token and ordinary commands do not persist it.
A narrowly scoped token may be unable to discover its organization and default project. Supply both internal scope values to skip discovery:
Environment values take precedence over the saved config. If you use the explicit
stackdome login command, that login is intentionally persisted even when matching environment values are present.
Human-only email and password login
A person working in an interactive terminal can run:--token or both credential flags.