admin
config_key
Read one sanitized configuration value by key.
strata config get-keydb.admin.config_value(key: 'str') -> 'Any'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 --helphelp(db.admin.config_value)
Example
Read one configuration value by key, or nothing if unknown.
strata config get-key missingdb.admin.config_value("missing") is NoneParameters
| Name | Type | Required | Description |
|---|---|---|---|
| key | string | yes | Config key. |
Returns
Maybe<String>
- datastring or null
- typestring
Errors
Recover by code. Retry policy and commit outcome come from the shipped error registry.
| Code | Retry | Commit outcome |
|---|---|---|
| failed_precondition.engine.runtime_closed | never | not_started |
| invalid_argument.engine.config_key | never | not_started |