CLI Authentication
The CLI supports two authentication methods.Device Code Login (Interactive)
Best for personal use on your workstation:~/.config/nexspace/credentials.json.
API Key (Headless)
Best for CI/CD, scripts, and automation:--api-keyflagNEXSPACE_API_KEYenvironment variable- Saved OAuth tokens from
login-device
Verify Authentication
Logout
~/.config/nexspace/credentials.json.