automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
Guide de référence uipathctl
Last updated 11 nov. 2024

uipathctl config token-signing-certificates update

Description

Mettez à jour le futur certificat de signature de jetons en fournissant pfx et key comme arguments.
Si la clé fournie est chiffrée, utilisez l'indicateur --password spécifiant le mot de passe de déchiffrement.
La commande utilise par défaut le contexte actuel dans le fichier kubeconfig . Si l'indicateur --kubeconfig est défini, il utilise le fichier kubeconfig spécifié par l'indicateur.
uipathctl config token-signing-certificates update [flags]uipathctl config token-signing-certificates update [flags]

Exemples

# Update the token signing certificate with the provided certificate path and key path from the cluster
        uipathctl config token-signing-certificates update --cert server.crt --key server.key
        
        # Update the token signing certificate with the provided certificate path and encrypted key path from the cluster
        uipathctl config token-signing-certificates update --cert server.crt --key server.key --password password

        # Update the token signing certificate with the provided certificate path and key path from the cluster identified by the current context in the kubeconfig file
        uipathctl config token-signing-certificates update --cert server.crt --key server.key --kubeconfig cluster.kubeconfig

        # Update the token signing certificate with the provided pfx certificate
        uipathctl config tls-certificates update --pfx-cert certificate.pfx --password password        # Update the token signing certificate with the provided certificate path and key path from the cluster
        uipathctl config token-signing-certificates update --cert server.crt --key server.key
        
        # Update the token signing certificate with the provided certificate path and encrypted key path from the cluster
        uipathctl config token-signing-certificates update --cert server.crt --key server.key --password password

        # Update the token signing certificate with the provided certificate path and key path from the cluster identified by the current context in the kubeconfig file
        uipathctl config token-signing-certificates update --cert server.crt --key server.key --kubeconfig cluster.kubeconfig

        # Update the token signing certificate with the provided pfx certificate
        uipathctl config tls-certificates update --pfx-cert certificate.pfx --password password

Options

--cert string       path to certificate
  -h, --help              help for update
      --key string        path to certificate key
      --password string   password for encrypted key
      --pfx-cert string   path to certificate in pfx format      --cert string       path to certificate
  -h, --help              help for update
      --key string        path to certificate key
      --password string   password for encrypted key
      --pfx-cert string   path to certificate in pfx format

Options héritées des commandes parent

--context string      name of the kubeconfig context to use
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "error")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default 1h0m0s)      --context string      name of the kubeconfig context to use
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "error")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default 1h0m0s)
  • Description
  • Exemples
  • Options
  • Options héritées des commandes parent

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo White
Confiance et sécurité
© 2005-2024 UiPath Tous droits réservés.