# chainctl config

URL: https://deploy-preview-3857--ornate-narwhal-088216.netlify.app/platform/chainctl/chainctl-docs/chainctl_config.md
Last Modified: August 26, 2026
Tags: chainctl, Reference, Product

 chainctl config Local config file commands for chainctl.
Synopsis Local config file commands for chainctl.
Every config property can also be set with an environment variable, which is useful for scripts and CI. Take the property name, uppercase it, replace dots with underscores, and add a CHAINGUARD_ prefix:
default.group becomes CHAINGUARD_DEFAULT_GROUP platform.api becomes CHAINGUARD_PLATFORM_API output.silent becomes CHAINGUARD_OUTPUT_SILENT Environment variables take precedence over the config file, and command line flags take precedence over both.
Setting default.group supplies the default for &ndash;parent, so exporting CHAINGUARD_DEFAULT_GROUP avoids passing &ndash;parent to every command.
Options inherited from parent commands --api string The url of the Chainguard platform API. (default &#34;https://console-api.enforce.dev&#34;) --audience string The Chainguard token audience to request. (default &#34;https://console-api.enforce.dev&#34;) --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 &#34;https://console.chainguard.dev&#34;) --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 &#34;https://issuer.enforce.dev&#34;) --log-level string Set the log level (debug, info) (default &#34;ERROR&#34;) -o, --output string Output format. One of: [csv, env, go-template, id, json, markdown, none, table, terse, tree, wide] -v, --v int Set the log verbosity level. SEE ALSO chainctl	- Chainguard Control chainctl config edit	- Edit the current chainctl config file. chainctl config reset	- Remove local chainctl config files and restore defaults. chainctl config save	- Save the current chainctl config to a config file. chainctl config set	- Set an individual configuration value property. chainctl config unset	- Unset a configuration property and return it to default. chainctl config validate	- Run diagnostics on local config. chainctl config view	- View the current chainctl config. 
