What is the Secrets Store CSI Driver, and when would you choose it over ESO?
AdvancedConceptSecrets in GitOps
Answer
The CSI driver mounts secrets from a provider (AWS, Azure, GCP, Vault) directly into pods as files at pod start, through a SecretProviderClass, optionally syncing to a Kubernetes Secret. Choose it when policy forbids secrets existing as Kubernetes Secret objects in etcd, or for file-based credentials. Downsides: the pod depends on the provider at start, env var usage still requires sync to a Secret, and rotation requires rotation support plus app reloads. ESO is simpler for most apps.
More on Secrets in GitOps
Why are plain Kubernetes Secrets a problem in GitOps?BeginnerHow does Sealed Secrets work?BeginnerWhat are Sealed Secrets scopes?IntermediateHow does Sealed Secrets key rotation work, and what must you back up?AdvancedHow does External Secrets Operator fit into GitOps?BeginnerShow an ExternalSecret for AWS Secrets Manager.Intermediate