Authentication

Sign this machine in to Sunboard, check who you are, and sign out.

Authentication is per-machine: sunboard login stores a session token used by the project and hosted-state commands. The browser SDK uses a separate publishable key — see Architecture for the difference.

sunboard login

Authorize this machine with a Sunboard account. Opens a browser approval URL and stores the session locally.

sunboard login [--no-open]
OptionDescription
--no-openDon't open the approval URL automatically — print it so you can open it yourself.

sunboard whoami

Print the currently authenticated Sunboard user.

sunboard whoami [--json]
OptionDescription
--jsonPrint machine-readable JSON output.

sunboard logout

Clear the local Sunboard CLI session.

sunboard logout

On this page