Skip to main content

octopus config set

octopus config set​

Set a configuration value

Synopsis​

Set a configuration value in the active profile using dot notation.

For regular keys, pass the value as a second argument:

octopus config set host 192.168.0.200:30990
octopus config set auth.open_id.client_id my-client

For secret keys, omit the value — it will be prompted securely:

octopus config set auth.open_id.client_secret

Secret keys are stored in the OS keychain and never written to config.yaml.

All settable keys:

host Kernel gRPC address (host:port)
tls Enable TLS (true/false)
default_tenant Default tenant code
auth.open_id.url OpenID Connect issuer URL
auth.open_id.client_id OAuth2 client ID
auth.open_id.client_secret OAuth2 client secret (secret — prompted interactively)
octopus config set <key> [value] [flags]

Examples​

octopus config set host localhost:9090
octopus config set default_tenant acme-bank
octopus config set auth.open_id.client_secret

Options​

-h, --help help for set
--profile string Profile to modify (defaults to active profile)

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​