Infrastructure security ยท Practice and architecture
OpenBao and Kubernetes: keeping secrets out of Git
A GitOps repository can declare which secret an application needs without storing its value. This works when access policies tie the secret to a specific workload identity.
Separate configuration and credentials
Keep references and deployment rules in Git and the value in the agreed secrets mechanism. Review whether the integration places it in a Kubernetes resource, a file or directly in the application. Those choices create different access paths.
Verify identity boundaries
Give the application an identity that matches its environment and function. Before acceptance, verify both access to its own secret and denial for another application's data. Record the test without including any values.
Go beyond the first successful read
Exercise rotation with the application owner. Find out when new credentials are picked up, whether a restart is required and how the application behaves if the secrets service becomes unavailable. This is what demonstrates operational readiness.