hubcli login¶
Performs a login to an Altair SLC Hub instance.
The command has the following format:
hubcli login [flags]
- flags
- One or more optional flags that provide additional control over execution of the command. The following flags are available:
-c stringor--connection string- Specifies the name of the connection to use.
If you do not specify this option, then the default connection is used.
If there is no default connection, then you must specify a connection.
The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance,
but a different default connection can be set using the
hubcli connection usecommand. --debug- Enables debug logging.
-hor--help- Returns help information for this command.
-p passwordor--password password- Specifies the password associated with the user specified by the
-uoption. Both the user name and password are required for authentication. If you do not specify this flag but do specify the-uflag, you are prompted for the corresponding password. --use-device-code- Forces use of device code authentication.
-u nameor--username name- Specifies the username for authentication.
If you specify this flag but do not specify
-p, you are prompted for a password.
Note: logon is an alias of login.