UiPath Documentation
automation-suite
2023.10
false
uipathctl 参考指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

uipathctl config add-host-admin

有关 uipathctl config add-host-admin 命令、标志和在 Automation Suite 中添加主机管理员的用法的参考。

描述​

添加主机管理员并指定其凭据。

该命令默认为 kubeconfig 文件中的当前上下文。 如果设置了 --kubeconfig 标志,则它使用该标志指定的 kubeconfig 文件。

uipathctl config add-host-admin [flags]
uipathctl config add-host-admin [flags]

示例​

# Add host admin with the provided username and password in cluster
uipathctl config add-host-admin --username newadmin --password password

# Add host admin with the provided username, password and email in cluster
uipathctl config add-host-admin --username newadmin --email email --password password

# Add host admin with the provided username and password in the cluster identified by the current context in the kubeconfig file
uipathctl config add-host-admin --username newadmin --password password --kubeconfig cluster.kubeconfig
# Add host admin with the provided username and password in cluster
uipathctl config add-host-admin --username newadmin --password password

# Add host admin with the provided username, password and email in cluster
uipathctl config add-host-admin --username newadmin --email email --password password

# Add host admin with the provided username and password in the cluster identified by the current context in the kubeconfig file
uipathctl config add-host-admin --username newadmin --password password --kubeconfig cluster.kubeconfig

选项​

  -e, --email string      host admin email
  -h, --help              help for add-host-admin
  -p, --password string   host admin password
  -u, --username string   host admin username
  -e, --email string      host admin email
  -h, --help              help for add-host-admin
  -p, --password string   host admin password
  -u, --username string   host admin username

从父命令继承的选项​

      --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)
  • 描述​
  • 示例​
  • 选项​
  • 从父命令继承的选项​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新