automation-suite
2023.4
false
UiPath logo, featuring letters U and I in white
OUT OF SUPPORT

uipathctl reference guide

Last updated Apr 29, 2025

uipathctl identity add-host-admin

Description

Add or update a host admin with the provided credentials. The command defaults to the current context in the kubeconfig file. If the --kubeconfig flag is set, it uses the kubeconfig file specified by the flag.
uipathctl identity add-host-admin [flags]uipathctl identity add-host-admin [flags]

Examples

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

        # Add host admin with the provided username, password and email in cluster
        uipathctl identity 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 identity add-host-admin --username newadmin --password password --kubeconfig cluster.kubeconfig
        # Add host admin with the provided username and password in cluster
        uipathctl identity add-host-admin --username newadmin --password password

        # Add host admin with the provided username, password and email in cluster
        uipathctl identity 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 identity add-host-admin --username newadmin --password password --kubeconfig cluster.kubeconfig

Options

-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

Options inherited from parent commands

--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)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.