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. You’ll be prompted to paste the key interactively.
loops auth login --name my-team
Flags
| Flag | Short | Description |
|---|
--name | -n | Name for this API key (e.g. my-team) |
--skip-verify | | Save the API key without verifying it |
list
List all stored API keys.
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.
To clear the active team selection:
Flags
| Flag | Description |
|---|
--clear | Clear the active team |
logout
Remove a stored API key.
loops auth logout --name my-team
To remove all stored credentials, run logout without a name flag — you’ll be prompted to confirm.
Flags
| Flag | Short | Description |
|---|
--name | -n | Name of the API key to remove |
Last modified on April 7, 2026