1 min read 120 words
Docs
CLI
Reference

hessian login

CLI command reference

hessian login

Login to Hessian

Synopsis

Login to Hessian and store the resulting credentials in a profile.

The credentials are written to the active profile, resolved (in order) from the global --profile flag, HESSIAN_PROFILE, the persisted current context (see hessian config context), and finally “default”. To log into a fresh profile in one shot, run hessian --profile=<name> login — the profile is created on first write.

hessian login [flags]

Options

Flag Type Description
-h, --help “ help for login
--port int Port for the OAuth callback server (default: auto-select from ephemeral range)
--provider string Authentication provider to use (default: google) (default “google”)

Options inherited from parent commands

Flag Type Description
--api_url string API URL (overrides the active context) (default “http://localhost:8000”)
--config string config file (default is $HOME/.hessian/config.yaml)
--debug “ Enable debug logging
-H, --header strings Add custom header(s) to requests (format: ‘Key: Value’). Can be repeated.
--json “ Output in JSON format (overrides —output)
--profile string Context profile to use (overrides current_context and HESSIAN_PROFILE)

See also

Last updated on 2-May-2026