The auth command manages your CLI authentication. API keys are stored locally so you can switch between teams without re-entering credentials.
login
Authenticate with your Loops API key. Pass a name of your choosing — you’ll use it later with auth use, auth logout, and the --team flag to refer to this key. You’ll be prompted to paste the key interactively.
loops auth login <name> [--flags]
Flags
| Flag | Description |
|---|
--skip-verify | Save the API key without verifying it |
list
List all stored API keys.
Pass --pick to filter the list interactively with fzf and switch to the selected team (equivalent to loops auth use <name>). Requires fzf to be installed and on your PATH.
Flags
| Flag | Description |
|---|
--pick | Interactively pick a team to switch to. Requires fzf. |
status
Print the resolved configuration, including which API key is currently active.
use
Set or clear the active API key. Pass the name of a stored key to switch to it.
loops auth use <name> [--flags]
To clear the active team selection:
Flags
| Flag | Description |
|---|
--clear | Clear the active team |
logout
Remove a stored API key.
Last modified on May 5, 2026