Skip to main content

ggshield config unset

Description

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

Options

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

This command supports all ggshield global options.

Examples

# 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