Skip to main content
Authenticate the CLI with your Nscale account. This opens a browser window to complete the login flow and stores your credentials locally.
The CLI also prints the verification URL and a one-time code. If the browser does not open, visit the URL manually and enter the code. Once authenticated, your credentials are saved and reused automatically for subsequent commands. By default they are stored under the default user; pass the global -u, --user flag to save them under another name, for example to keep credentials for several accounts side by side:
For CI/CD environments where browser-based login isn’t possible, use the NSCALE_SERVICE_TOKEN environment variable instead:
See Service Accounts for how to create and manage service account tokens.