Overview¶
Secrets Bridge is a secrets control plane: the layer that sits between developers / operators and the actual secret stores. The mental model the project never violates:
Control Plane = decisions, workflow, metadata, audit, RBAC, jobs, status
Agent = execution inside the target account/cluster, least privilege
Providers = the actual secret values (source of truth)
The Control Plane never holds raw secret values. The Agent holds them for the duration of one request and then drops them. The Providers are unchanged. Secrets Bridge augments them, it doesn't replace them.
The flows the platform supports today¶
| Flow | Direction | What happens |
|---|---|---|
| Read | provider → user | Developer requests a value; workflow approves; agent fetches; CP stores a single-use KMS-wrapped envelope; UI reveals it once. |
| Patch | user → provider | Developer submits a new value through the form; workflow approves; agent GET-merge-PUTs to the provider so untouched keys survive. |
| Discovery | provider → CP catalog | Admin enqueues a discover job; agent calls ListMetadata; CP upserts to the secrets table with native provider labels preserved verbatim (Vault custom_metadata, AWS Tags, GCP labels, Azure tags). |
| Gateway observation | Argo CD → Gateway → CP | After an approved change reaches the provider, an optional Gateway inside your boundary reads Argo CD rollout state and reports it as metadata. Strictly read-only, off unless an environment's observation source is gateway. The CP itself never talks to Argo CD. Argo CD health is context, not proof the workload picked up the new value. |
What ships today¶
| Repo | Status | Notes |
|---|---|---|
core |
Shipped | Provider interface, Vault + AWS SM connectors, type-safe value redaction |
api |
Shipped | Fiber v3 Control Plane API, Postgres + Redis, RBAC catalog, session-cookie login |
agent |
Shipped | Outbound-only, claim → wrap → execute → complete loop, X25519 wire envelope |
worker |
Shipped | Sweepers, scheduler, notifications, Gateway observation sweepers |
controller |
Shipped | Kubernetes CRD reconciler ported from v0.1.0 |
ui |
Shipped | React SPA: dashboard, requests, agents, admin, audit, secrets |
gateway |
In progress | Release 1: read-only Argo CD observation. Binary, chart, registry, observation tasks, console and the cutover from the control-plane poller merged; not yet through QA |
charts |
Shipped | Hardened Helm charts for the control plane and the agent, published to GHCR. The Gateway chart is part of Gateway Release 1 |
docs |
You're reading it | mkdocs-material |
What's intentionally out of scope¶
- Replacing your secrets provider. Vault, AWS SM, etc. stay authoritative. Secrets Bridge is a governance + access plane, not a value store.
- Storing secret values. The
secret_wrapstable holds KMS-encrypted envelopes for the duration of one request only (TTL in minutes/hours, single-shot consumption). - Writing K8s secrets from the CP. The
controllerdoes GitOps-style sync; the CP itself never reaches into a cluster. - Providing a "central admin password" for every provider. The agent uses only the credentials configured inside its own network boundary. The CP never holds provider master credentials.