qa login opens a browser sign-in flow and writes the resulting API key to
~/.momentic/auth.json, the same file used by momentic and momentic-mobile.
Options
boolean
Do not open a browser automatically. The command prints the sign-in URL so you
can open it yourself, for example on a headless machine.
string
Momentic server URL to sign in to. Defaults to the server saved by an earlier
login, then
https://api.momentic.ai. Env: MOMENTIC_SERVER.logout
Remove the saved API key.
~/.momentic/auth.json. Because the file is shared, this
also signs out momentic and momentic-mobile.
whoami
Show the account and organization for the active API key.
--api-key, MOMENTIC_API_KEY, or the
saved file).
Notes
- To skip the saved key for a single command, pass
--api-key <key>or setMOMENTIC_API_KEY. Both take priority over the file. - In CI, set
MOMENTIC_API_KEYinstead of runningqa login. Create keys in the dashboard; see API keys and team.