CLI
armoriq login
Authenticate your CLI with ArmorIQ via browser
armoriq login
Browser-based OAuth device-code flow. Saves credentials under ~/.armoriq/ so
subsequent CLI and SDK calls pick them up automatically.
Usage
armoriq loginWith flags:
armoriq login --backend https://api.armoriq.ai
armoriq login --org "Acme Inc" # pre-select an org
armoriq login --org 5e1c... # or by org idFlags
| Flag | Description |
|---|---|
--backend | Override the backend URL (useful for staging / local dev) |
--org | Pre-select an organization by id or exact name. You can still change it in the browser. |
What it does
- Prints a short device code and a URL.
- Opens the URL in your browser for you to confirm.
- On success, stores credentials locally.
Related
armoriq whoami— see who's currently logged inarmoriq logout— clear saved credentialsarmoriq orgs— list or switch orgs