Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Starts a device-authorization flow. The CLI prints a one-time code, opens your browser to the Envless dashboard, and polls in the background until you approve the session.
What happens
Request a device code
The CLI calls /cli/device to mint a short-lived device code and a human-readable user code (e.g. ABC-123).
Approve in the browser
Your default browser opens to the verification URL with the code pre-filled. Confirm the code matches the one shown in your terminal, then approve the session while signed in to Envless.
The flow times out after 10 minutes. If the timer runs out, run envless login again.
Already signed in
If a session already exists, envless login is a no-op and prints the current account. Run envless logout first to switch users.
Where credentials live
| Path | Mode | Contents |
|---|---|---|
~/.envless/ | 700 | Per-user CLI state directory. |
~/.envless/config.json | 600 | Bearer token and cached user profile. |
Treat config.json like an SSH key — don’t commit it, don’t sync it to shared machines, and revoke the session with envless logout if it’s ever exposed.