Files
mtusi2026lab7/contracts/trust-matrix.md
T
Mirariel 1b10180092
Skeleton contracts / contracts (pull_request) Canceled after 0s
Implement lab 7 mTLS OpenBao and certificate rotation
2026-11-20 20:39:14 +03:00

12 lines
1010 B
Markdown

# Trust matrix
| Actor / component | Trust boundary | Allowed access |
|---|---|---|
| Client | Host → HAProxy | HTTPS only on `8443`; certificate must be trusted by the client |
| HAProxy | Ingress → private Docker network | Routes external TLS and presents an `lb-client` certificate to API replicas |
| API | Application network | Reads PostgreSQL/Redis and uses MinIO through service credentials |
| Worker | Application network | Processes queued attachment jobs; no public listener |
| Data services | Private Docker network | No host-published data ports |
The certificate generated by `scripts/bootstrap.py` is self-signed for lab use. API replicas require a client certificate signed by the local CA, and only the LB identity is issued for that role. OpenBao uses persistent file storage and separate API/worker policies; the operator performs init/unseal and AppRole rollout without committing root material. Production needs a managed CA, credential rotation, and TLS on the OpenBao listener.