ArmorIQ LogoArmorIQ SDK
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 login

With flags:

armoriq login --backend https://api.armoriq.ai
armoriq login --org "Acme Inc"          # pre-select an org
armoriq login --org 5e1c...              # or by org id

Flags

FlagDescription
--backendOverride the backend URL (useful for staging / local dev)
--orgPre-select an organization by id or exact name. You can still change it in the browser.

What it does

  1. Prints a short device code and a URL.
  2. Opens the URL in your browser for you to confirm.
  3. On success, stores credentials locally.

On this page