automation-suite
2023.4
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
uipathctl 参考指南
Last updated 2024年11月11日

uipathctl identity update-token-signing-certificate

描述

使用作为参数提供的证书和密钥更新未来的令牌签名证书。

如果提供的密钥已加密,请设置 --password 标志,指定解密密码。 该命令默认为 kubeconfig 文件中的当前上下文。 如果设置了 --kubeconfig 标志,则它使用该标志指定的 kubeconfig 文件。
uipathctl identity update-token-signing-certificate [flags]uipathctl identity update-token-signing-certificate [flags]

示例

# Update the token signing certificate with the provided certificate path and key path from the cluster
        uipathctl identity update-token-signing-certificate --cert server.crt --key server.key
        
        # Update the token signing certificate with the provided certificate path and encrypted key path from the cluster
        uipathctl identity update-token-signing-certificate --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 identity update-token-signing-certificate --cert server.crt --key server.key --kubeconfig cluster.kubeconfig
        # Update the token signing certificate with the provided certificate path and key path from the cluster
        uipathctl identity update-token-signing-certificate --cert server.crt --key server.key
        
        # Update the token signing certificate with the provided certificate path and encrypted key path from the cluster
        uipathctl identity update-token-signing-certificate --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 identity update-token-signing-certificate --cert server.crt --key server.key --kubeconfig cluster.kubeconfig

选项

--cert string       path to certificate
  -h, --help              help for update-token-signing-certificate
--key string        path to certificate key
--password string   password for encrypted key--cert string       path to certificate
  -h, --help              help for update-token-signing-certificate
--key string        path to certificate key
--password string   password for encrypted key

从父命令继承的选项

--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")
--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")
--timeout duration    timeout of the command (default 1h0m0s)
  • 描述
  • 示例
  • 选项
  • 从父命令继承的选项

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。