Skip to content

DRU-720 -- Sync managed services into the vault - #827

Merged
czpython merged 1 commit into
mainfrom
paulo/dru-720-manage-a-service-from-drukstoml
Oct 4, 2026
Merged

czpython merged 1 commit into
mainfrom
paulo/dru-720-manage-a-service-from-drukstoml

Conversation

@czpython

@czpython czpython commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

What changed

A service that has a [services.<slug>] table in druks.toml is managed by deployment configuration. The table holds the plain fields of the service's card, and each secret field is a file in DRUKS_SECRETS_DIR. At startup, before HTTP traffic and DBOS recovery, the card validates its entry and Druks stores it in the card's encrypted vault row. Existing consumers keep their vault reads and row IDs.

The API refuses edits and disconnects for a managed card. The Services page names the manager from the top-level managed_by key and disables those controls. A restart applies a changed entry. When the table is removed, the card keeps its credentials and can be changed on the Services page again.

The table is for a platform that writes druks.toml itself: the installer refuses it. WAHA is the first use. The mechanism names no service: any registered service slug works. docs/configuration.md documents the table.

@mintlify

mintlify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
druks 🟢 Ready View Preview Oct 4, 2026, 6:45 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@czpython
czpython force-pushed the paulo/dru-720-manage-a-service-from-drukstoml branch from 87c70e0 to d6e501d Compare October 4, 2026 18:45
@czpython
czpython merged commit aa4e974 into main Oct 4, 2026
5 of 6 checks passed
@czpython
czpython deleted the paulo/dru-720-manage-a-service-from-drukstoml branch October 4, 2026 18:52

This branch was successfully deployed

1 active deployment
staging - docs — d6e501d7 Deployed Oct 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant