feat(keystore,api,ui,docker): encrypted secrets store with a write-only admin page and a secret run helper for the model

This commit is contained in:
hh committed 2026-10-18 16:18:21 +02:00
1 parent 2a47c6771d
commit 7b36cb2156
22 files changed
+1569 -5

No files matched your search

+7
View File
@@ -61,6 +61,13 @@ class Settings(BaseSettings):
"""Directories the ``send_file`` tool may read, separated by ``:``. A
frontend always adds the inbox its own attachments land in."""
secrets_key: str | None = None
"""Hex AES-256 key (``openssl rand -hex 32``) sealing the secrets table;
unset leaves secrets off. Never reaches the model's environment."""
secrets_socket: Path = Path("/run/beaver-secrets/gateway.sock")
"""Root-only socket the ``secret`` helper reads values from."""
bootstrap_tokens: str = ""
"""Out-of-band token seed: ``name1:value1,name2:value2``. Layers
alongside DB-issued tokens; used for first-run setup and recovery."""