Skip to main content

sypho login

Authenticate with your sypho control plane.

Usage​

sypho login

Prompts interactively for:

  1. Your control-plane URL
  2. Your platform token (hidden input)

Non-interactive​

sypho login --endpoint https://your-control-plane.example.com --token sypho_abc123...

Environment Variable​

If --token isn't passed, the CLI also checks SYPHO_TOKEN before prompting:

export SYPHO_TOKEN=sypho_abc123...
sypho login --endpoint https://your-control-plane.example.com

Configuration​

The CLI verifies the token against your control plane, then stores it in ~/.sypho/config.toml:

[auth]
endpoint = "https://your-control-plane.example.com"
token = "sypho_abc123..."

Getting a Platform Token​

Platform tokens are issued by your control plane (POST /platform-tokens), typically via its web UI. The token is shown once at creation time — save it somewhere safe.

Next Steps​