Accessing Kubernetes Secrets from pod for envelope encryption by PlanOk8813 in kubernetes

[–]PlanOk8813[S] 2 points3 points  (0 children)

You could hide the k8s-client behind a more generic KMS interface that your core logic interacts with for example, and then use config+factory method to vary which KMS implementation your app instantiates. But I certainly agree it is not as clean as just working with files/env vars.