admin

config_key

Read one sanitized configuration value by key.

strata config get-key

wire configure_get_key

Returns one sanitized configuration value from the allowlist by key, or a null value when the key is not recognized. Only allowlisted, non-sensitive keys are served; an empty key is rejected with `invalid_argument.engine.config_key`.

Optional reads distinguish present data from missing data. When version or timestamp facts exist on the executor output, SDK mappings should preserve them.

To see the complete help for this command, run:

strata config get-key --help

Example

Read one configuration value by key, or nothing if unknown.

strata config get-key missing

Parameters

NameTypeRequiredDescription
keystringyesConfig key.

Returns

Maybe<String>

  • datastring or null
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

CodeRetryCommit outcome
failed_precondition.engine.runtime_closednevernot_started
invalid_argument.engine.config_keynevernot_started
← All 11 Admin commands

agents: this page as markdown → /docs/reference/admin/config_key.md