KV store

Maand configuration and secrets live in an in-memory KV store backed by SQLite (key_value table). Build, deploy, hooks, and templates read and write KV.

Document Use when
namespaces.md Which keys exist, how to set/read them, examples (includes maand/prometheus scrape catalog)
persistence.md When writes commit, purge rules, access control

Inspect from the CLI:

maand cat kv
maand cat kv --jobs api --active
maand cat kv get maand/job/api version
maand cat kv get --reveal secrets/job/api db_password

Related: cli/hooks.md · templates.md · cli/build.md · observability/logging.md