Skip to main content

ggshield config get

Description

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

Options

  • --instance URL: Get per instance configuration.

This command supports all ggshield global options.

Examples

# 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

How can I help you ?