Skip to main content

ggshield config unset


Remove the value of the given configuration key.

ggshield config unset [OPTIONS] KEY

If --all is passed, iterates over all instances.

Supported keys:

  • default_token_lifetime
  • instance


  • --instance URL: Set per instance configuration.
  • --all: Iterate over all instances.

This command supports all ggshield global options.


# Unset the value of 'default_token_lifetime' configuration key
$ ggshield config unset default_token_lifetime

# Unset the value of 'default_token_lifetime' configuration key for a specific instance
$ ggshield config unset default_token_lifetime --instance https://dashboard.gitguardian.mycorp.local

How can I help you ?