Skip to main content
The create-catalog command creates a Trino catalog using a specified connector type and configuration.
nx1 create-catalog \
  --catalog <catalog_name> \
  --properties \
  --type <type_name>
  • --catalog string required: Name of the Trino catalog.
  • --properties dictionary required: Comma-separated key-value configuration settings for the Trino connector type.
  • --type string required: Trino connector type.
  • --api-key string optional: API key or the NX1_API_KEY variable.
  • --config-file string optional: YAML config file.
  • --help -h optional: Shows help messages and exit.
  • --host string optional: API host.
  • --no-verify-ssl optional: Disables SSL verification.
  • --output -o optional: Output format. Allowed values: json, yaml, or table.
  • --profile -p string optional: Profile name from ~/.nx1/profiles.
  • --timeout integer optional: Requests when to timeout. Default is 30.
  • --verbose -v optional: Verbose output.