feat(secrets): opt-in injected secret delivery, scoped per server #117
Reference in New Issue
Block a user
Delete Branch "feat/per-server-identity-tests"
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?
Stops mcpd writing secret VALUES into pod specs. With secretDelivery: injector the pod fetches its own secrets from OpenBao under a ServiceAccount + role scoped to just that server. Opt-in per server, default env, so existing servers are unchanged.
Key guards, both tested: an opted-out server produces an identical manifest; an opted-in server still fails loudly on a bad secretRef (validateServerEnvRefs resolves and discards, preserving the
e6cd735check). Shell quoting is tested by executing a real /bin/sh over nine adversarial values and was confirmed to fail against naive quoting.Docker/Podman fall back to inline resolution. Deleting a server revokes its identity.