Integrates secrets stores with Kubernetes via a CSI volume.
open sourceApache-2.0self-hostablefree
The Secrets Store CSI Driver mounts secrets, keys and certificates from external secret stores into Kubernetes pods as a volume, through the Container Storage Interface, so they reach the container's file system without being stored in etcd first. A SecretProviderClass resource says what to fetch, and providers for each store do the fetching: AWS, Azure, Google Cloud, HashiCorp Vault, OpenBao, Akeyless and Conjur, several of them in one cluster. Optional alpha features sync the mounted contents to a Kubernetes Secret (for environment variables) and rotate them when the store changes. It supports Linux and Windows containers and is a Kubernetes SIG Auth subproject under Apache-2.0.
Ways to install
On Kubernetes
Problems it solves
- mount secrets from AWS Secrets Manager, Azure Key Vault or Google Secret Manager into Kubernetes pods as files
- keep secrets out of etcd and fetch them from our vault only when the pod starts
- give pods TLS certificates stored in a cloud key vault as mounted files
- use HashiCorp Vault or OpenBao secrets in pods without a sidecar injector
- the same pod spec should work with different secret stores in different clusters
- rotate secrets mounted in pods when they change in the external store
- mount several secrets from an external store into one volume
- secrets from an external store in Windows containers on Kubernetes
Features
- mounts secrets, keys and certificates into pods with a CSI inline volume
- several secret store objects in one volume
- several providers running in one cluster at the same time
- pod portability with the SecretProviderClass custom resource
- providers: Akeyless, AWS, Azure, Conjur, GCP, OpenBao and Vault
- Linux and Windows containers
- alpha: sync mounted content to Kubernetes Secrets
- alpha: auto rotation of mounted contents and synced Secrets
- Helm chart from the project's chart repository
- supports every actively maintained Kubernetes minor release
Limitations
- Doesn't sync to a Kubernetes Secret on its own: secrets sync only while a pod mounts the CSI volume, and syncing is an alpha feature23
- Secrets aren't rotated in volumes mounted with subPath4
Capabilities
| Takes plugins | plan not known |
|---|
Alternatives
The same job
These do what Kubernetes Secrets Store CSI Driver does.
- Vault Secrets Operator Lets Pods consume Vault secrets natively from Kubernetes Secrets
- External Secrets Operator Sync secrets from external secret managers into Kubernetes Secrets
- Sealed Secrets A Kubernetes controller and tool for one-way encrypted Secrets
- 1Password Connect Kubernetes Operator Integrate Kubernetes Secrets with 1Password, and auto-restart deployments when 1Password items are updated
