Secrets out of the box: Vaultwarden fetch + per-agent seed import #65
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "secrets-out-of-the-box"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two parallel, additive paths so a host gets its secrets out of the box. The manual setup wizard stays the floor — no config present means a clean no-op.
clawdie-vault-fetch(new)Language-neutral
bwbridge (deps: onlybw, nojq). Reads a 0600~/.config/vault-bootstrap.env, pulls keys from theagent-secretscollection where item name = env var name and the value lives in the password field (sobw get password <NAME>returns it raw). PrintsKEY=VALUEor--write-envupserts into a 0600 file (preserves untouched keys). Exit codes distinguish skip (3, no bootstrap) / broken (1) / nobw(4). Pinned@bitwarden/cli@2026.5.0for offline bundling; staged inconfigure_live_operator_session. Smoke-tested with a stubbwacross all paths.Seed importer → per-agent directories
Extends the
CLAWDIESEEDFAT32 importer from theauthorized_keysallowlist to a per-agent convention:/<agent>/holdingenv(merged 0600),harness.toml(pi|zot|local, the ColibriAgentRuntimeenum),soul/(staged to/var/db/clawdie/seed/<agent>/), andssh/authorized_keys. Live USB is single-agent (first dir = active); extra dirs are staged + flagged for the deployed multi-agent seam. Optional consume-and-shred (/shredmarker). Import core is unit-testable viaCLAWDIE_SEED_TESTand was verified end-to-end against a fake seed tree.Security note
Per operator decision, env files on the seed may carry plaintext secrets (provider keys, vault bootstrap). The README is rewritten to document this honestly — seeded sticks are secret-bearing media; mitigations are 0600 landing and the shred option.
Not wired yet (follow-ups)
soul/→ agent workspace cwd; harness launch fromharness.toml.clawdie-aipostinstall shelling out toclawdie-vault-fetch; deployed-disk staging of the helper.🤖 Generated with Claude Code
Pull request closed