automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
Guia de referência do uipathctl
Last updated 11 de nov de 2024

uipathctl config add-host-admin

Description

Adicione um administrador do host e especifique as credenciais dele.

O comando utiliza como padrão o contexto atual no arquivo kubeconfig . Se o sinalizador --kubeconfig estiver definido, ele usará o arquivo kubeconfig especificado pelo sinalizador.
uipathctl config add-host-admin [flags]uipathctl config add-host-admin [flags]

Exemplos

# 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

Opções

-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

Opções herdadas de comandos pai

--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
  • Exemplos
  • Opções
  • Opções herdadas de comandos pai

Esta página foi útil?

Obtenha a ajuda que você precisa
Aprendendo RPA - Cursos de automação
Fórum da comunidade da Uipath
Uipath Logo White
Confiança e segurança
© 2005-2024 UiPath. Todos os direitos reservados.