Skip to main content
The sengol CLI ships in the sengol package. Most commands are clients of the appliance’s API. A few run locally with no appliance at all.

Credentials

API commands read SENGOL_API_URL and exit 2 without it.
  • SENGOL_API_TOKEN takes an sk_ token or a session JWT.
  • sengol login opens your SSO in a browser. sengol login --device prints a code to approve at /device in the Console, and also works for local users with a password.
  • sengol auth status shows the cached session. sengol logout clears it.
It exits 1 here because this shell has not run sengol login.

Commands by persona

Everyone

Developers

Compliance

Reviewers

Auditors

Operators

Exit codes for sengol gate

Logs

Commands log to stderr in structured form. Redirect it to keep output clean: