vault-csi-provider is HashiCorp's official Kubernetes integration that securely mounts Vault secrets as files in pod containers using the Container Storage Interface, enabling applications to access centralized secrets without code changes or embedded credentials.
vault-csi-provider is HashiCorp's official Kubernetes integration that enables secure, file-based access to Vault
secrets through the Container Storage Interface (CSI). It operates as a provider plugin for the Secrets Store CSI
driver, allowing Kubernetes pods to mount secrets from HashiCorp Vault directly as files in their filesystem without
requiring code changes or embedded credentials in container images.
The system works by intercepting pod mount requests through SecretProviderClass resources, authenticating with Vault using Kubernetes service account tokens, and dynamically retrieving secrets that are then mounted as files within pod containers. This approach supports various Vault secret engines including key-value stores, dynamic database credentials, PKI certificates, and custom secret backends, while maintaining secure authentication through Vault's Kubernetes auth method.
This integration allows organizations to centralize secret management through Vault while preserving Kubernetes-native deployment patterns, supporting use cases like dynamic credential rotation, certificate lifecycle management, and zero-trust application security across development and production environments without the overhead of sidecar containers or init processes.