snyk config <SUBCOMMAND> [<OPTIONS>]
The snyk config command manages your local Snyk CLI config file, a JSON file located at $XDG_CONFIG_HOME or ~/.config followed by configstore/snyk.json
Example: ~/.config/configstore/snyk.json
This command does not manage the .snyk file that is part of your project. See the snyk policy and snyk ignore commands.
Use the -d option to output the debug logs.
get <KEY>Print a config value.
set <KEY>=<VALUE>Create a new config value.
unset <KEY>Remove a config value.
clearRemove all config values.
<KEY> valuesapiAPI token to use when calling Snyk API.
endpointDefine the API endpoint to use.
disable-analyticsTurn off analytics reporting.
oci-registry-urlConfigure the OCI registry used in IaC scanning with custom rules.
oci-registry-usernameConfigure the username for an OCI registry used in IaC scanning with custom rules.
oci-registry-passwordConfigure the password for an OCI registry used in IaC scanning with custom rules.