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.
Print a config value.
Create a new config value.
Remove a config value.
Remove all config values.
API token to use when calling Snyk API.
Define the API endpoint to use.
Turn off analytics reporting.
Configure the OCI registry used in IaC scanning with custom rules.
Configure the username for an OCI registry used in IaC scanning with custom rules.
Configure the password for an OCI registry used in IaC scanning with custom rules.