ktm variables

Manage ktm variables, groups, and variants with dedicated subcommands for creating, listing, updating, and deleting configuration values.

Variables, groups, and variants — product-scoped configuration

Usage

ktm variables [flags]

Subcommands

create

Create a variable (single | secret | choice)

delete

Delete a variable; refuses if any test references it

duplicate

Clone a variable under a new name (atomic; preserves type and values)

groups

Variable groups — environment configurations holding a set of variants

list

List variables for a product (with scope, group, type, usage, and variant filters)

name-available

Pre-flight: check whether a variable name is free under a product

set-value

Set ONE variant's value on a grouped variable (preserves other variants)

show

Fetch a single variable, rich-by-default with usage; --lite skips usage

update

Update a variable's name, description, and/or default_value (properties only)

variants

Variants — environment slices inside a variable group (dev, staging, prod, …)

Details

Manage variables, variable groups, and variants from a single command tree.

The variable system is organised as Product → Variables → Groups → Variants:

  • Variables — typed values used by tests and monitors at runtime (single, secret, choice).
  • Groups — environment configurations that hold a set of variants.
  • Variants — environment slices inside a group (e.g. dev, staging, prod).

Each operation is a dedicated single-purpose subcommand so the verb is always unambiguous.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on