Skip to main content

ggshield config get


Print the value of the given configuration key.

ggshield config get [OPTIONS] KEY

If --instance is passed, retrieve the value for this specific instance.

Supported keys:

  • default_token_lifetime
  • instance


  • --instance URL: Get per instance configuration.

This command supports all ggshield global options.


# Get the value of 'default_token_lifetime' configuration key
$ ggshield config get default_token_lifetime

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