moss login) for interactive use, or API key (moss auth login --key ...) for scripting and CI/CD.
moss login
Log in via your browser. This is the recommended method for interactive use — it opens the MossDesk dashboard, you authorize the CLI, and credentials are saved automatically.moss auth login
Save an API key for a workspace. Use this for non-interactive environments like CI pipelines or automation scripts.
The key is stored in
~/.moss/config.json. If --workspace is provided, it becomes the active workspace.