config:create#

Create or update your CLI configuration. Run this command once after installing the CLI. You must have a configuration in place before running other commands.

Usage

horizon config:create [options]

Examples

# Configure the CLI interactively (you will be prompted for your API key)
horizon config:create

# Configure the CLI without prompts
horizon config:create --no-interaction --api-key="YOUR_API_KEY" --team="My Team"

Options

This command supports the general CLI options in addition to those listed below.

--api-key=API_KEY

Your API key, which can be copied from My Account > API Key in the web interface. If you omit this option, you will be prompted for it.

--endpoint=ENDPOINT

The API endpoint to use (default: https://horizon.convergecfd.com/api/v3). Do not change the endpoint unless you are directed to do so.

--team=TEAM

ID or name of the team whose resources you are working with. If you belong to only one team, that team is selected automatically. You can change the active team later with team:switch.

--no-tls-verify

Do not verify the endpoint’s TLS certificate.

Caution

This disables a security check and should be used only against a test endpoint with a self-signed certificate.