hubcli connection add¶
Adds a connection to a specified Altair SLC Hub instance.
The command has the following format:
hubcli connection add connection-name [flags]
where:
- connection-name
- The name for the connection.
If the name already exists, and the
--overwriteflag is not specified, an error occurs. - flags
- One or more flags for the command that provide additional control over execution.
The following flag is mandatory:
-u urlor--url url- Base URL of the Hub instance. This option is mandatory.
You can make the specified connection the default connection later by using the
hubcli connection usecommand.
The following optional flags are available:
--ca-certificate string- Specifies the name of the CA certificate file to use when making HTTPS requests to the Hub instance.
-dor--default- Make this connection the default. If you make this connection the default, the default status is removed from any other connection that has it. Note that the first connection you create with this command is automatically specified as the default connection.
--debug- Enables debug logging.
-hor--help- Returns help information for this command.
--insecure-skip-verify- Do not verify TLS certificates when making HTTPS requests to the Hub instance.
--overwrite- Overwrite any existing definition of the connection. If you do not specify this, and the connection name already exists, then an error occurs.