admin
config
Read sanitized configuration facts.
strata config getdb.admin.config() -> 'Any'wire config_get
Returns sanitized configuration facts: the open target, whether this open created the database, durability, and the default branch. Only allowlisted, non-sensitive facts are exposed; no filesystem paths, credentials, or provider keys are ever returned.
Status commands return a scalar or compact status payload and do not mutate database state.
To see the complete help for this command, run:
strata config get --helphelp(db.admin.config)
Example
Read sanitized configuration facts.
strata config getdb.admin.config().default_branchReturns
StatusResponse<AdminConfig>
- dataAdminConfig
- 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 |