Aller au contenu principal

ggshield config set

Description

Met à jour la valeur de la clé de configuration donnée.

ggshield config set [OPTIONS] KEY VALUE

Clés supportées :

  • default_token_lifetime
  • instance

Options

  • --instance URL : définit la configuration par instance.

Cette commande prend en charge toutes les options globales ggshield.

Exemples

# 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