Documentation Index
Fetch the complete documentation index at: https://s2.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Access Token
The CLI needs an access token to authenticate with S2. Generate one from the dashboard, then persist it:Managing Config
Environment Variables
The CLI also reads endpoint overrides and command-specific settings from environment variables, which is useful when pointing at s2-lite or working with encrypted streams:| Variable | Description |
|---|---|
S2_ACCESS_TOKEN | Access token (alternative to s2 config set) |
S2_ACCOUNT_ENDPOINT | Account-level API endpoint |
S2_BASIN_ENDPOINT | Basin-level API endpoint |
S2_ENCRYPTION_KEY | Encryption key used by append, read, and tail commands, if configured |

