chainctl
chainctl Chainguard Control
For the complete documentation index, see llms.txt.
Connect your GitHub account to development sessions.
Connect your GitHub account once with login, and your sessions act on GitHub as you, those created before the login included: every git and gh request such a session makes is served with your own GitHub account, through the sandbox plane’s develop GitHub App (status names it; it is not the App that runs CI), as far as the App’s permissions, its installations, and your own access allow. That holds in every group whose policy does not ban it (user_github, see chainctl develop policy); in a group that bans it, sessions use their github source and bindings instead. Whose account serves a request is decided on each request: a session created after the login keeps acting as you and refuses git and gh requests after you log out, and one created before it goes back to its github source and bindings. The connection refreshes itself until you log out or GitHub revokes it.
No token is written to this machine or shown: the control plane keeps the account’s authorization, sealed, and hands it to no one but the requests your own sessions make.
--api string The url of the Chainguard platform API. (default "https://console-api.enforce.dev")
--audience string The Chainguard token audience to request. (default "https://console-api.enforce.dev")
--config string A specific chainctl config file. Uses CHAINCTL_CONFIG environment variable if a file is not passed explicitly.
--console string The url of the Chainguard platform Console. (default "https://console.chainguard.dev")
--force-color Force color output even when stdout is not a TTY.
-h, --help Help for chainctl
--issuer string The url of the Chainguard STS endpoint. (default "https://issuer.enforce.dev")
--log-level string Set the log level (debug, info) (default "ERROR")
--non-interactive Disable prompts; fail if a session or group choice is ambiguous.
-o, --output string Output format. One of: [csv, env, go-template, id, json, markdown, none, table, terse, tree, wide]
--parent string Organization or folder name/ID (defaults to $CHAINCTL_SANDBOX_GROUP, then default.group).
-v, --v int Set the log verbosity level.Last updated: 2026-11-24 18:17