Skip to main content

ggshield config set

Description

Update the value of the given configuration key.

ggshield config set [OPTIONS] KEY VALUE

Supported keys:

  • default_token_lifetime
  • instance

Options

  • --instance URL: Set per instance configuration.

This command supports all ggshield global options.

Examples

# Set the value of 'default_token_lifetime' configuration key
$ ggshield config set default_token_lifetime 30

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

How can I help you ?