Sync secrets from external secret managers into Kubernetes Secrets
open sourceApache-2.0self-hostablefree
External Secrets Operator is a Kubernetes operator that reads secrets from external secret management systems and writes them into Kubernetes Secrets, keeping them in sync on a refresh interval. A SecretStore or ClusterSecretStore says how to reach and authenticate to a provider, an ExternalSecret says what to fetch and templates the resulting Secret, and a PushSecret goes the other way, pushing a Kubernetes Secret to a provider. Its stable providers include AWS Secrets Manager and Parameter Store, HashiCorp Vault, Azure Key Vault, GCP Secret Manager, IBM Cloud Secrets Manager, CyberArk Secrets Manager, Akeyless and Oracle Vault, and dozens more are alpha, among them OpenBao, 1Password, Infisical, Doppler, Bitwarden Secrets Manager and GitLab variables. It's open source under Apache-2.0 and installs with its own Helm chart.
Ways to install
On Kubernetes
Problems it solves
- get secrets from AWS Secrets Manager into Kubernetes without copying them by hand
- our apps read Kubernetes Secrets but the source of truth for credentials is Vault
- rotate a database password in our secret manager and have the Kubernetes Secret update by itself
- keep secret values out of our GitOps repo and only commit a reference to where they live
- sync 1Password items into Kubernetes Secrets for our apps
- one cluster-wide connection to Azure Key Vault that every namespace can use
- push a secret generated in the cluster back into our cloud secret manager
- build a config file Secret from several values stored in our secret manager
- generate random passwords or registry tokens as Kubernetes Secrets automatically
- use GCP Secret Manager values as environment variables in pods
- move between secret manager vendors without changing how our Kubernetes apps read secrets
Features
- ExternalSecret, SecretStore and ClusterSecretStore custom resources
- ClusterExternalSecret for many namespaces
- PushSecret and ClusterPushSecret to push Kubernetes Secrets to providers
- refresh intervals that keep Secrets in sync
- templating of the resulting Secret
- generators for passwords, UUIDs, SSH keys, ECR tokens and more
- stable providers: AWS Secrets Manager, AWS Parameter Store, Akeyless, Azure Key Vault, CyberArk, GCP Secret Manager, HashiCorp Vault, IBM Cloud, Oracle Vault, Previder
- alpha providers including OpenBao, 1Password, Infisical, Doppler, Bitwarden Secrets Manager, Keeper Security, GitLab variables and a generic webhook
- esoctl tool for testing templates
- Helm chart and OperatorHub listing
View 1 more
- two 1Password providers, both alpha: one through a self-hosted Connect server, one through the 1Password SDK with a service account token and no Connect server (with PushSecret)
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what External Secrets Operator does.
- Vault Secrets Operator Lets Pods consume Vault secrets natively from Kubernetes Secrets
- 1Password Connect Kubernetes Operator Integrate Kubernetes Secrets with 1Password, and auto-restart deployments when 1Password items are updated
- Sealed Secrets A Kubernetes controller and tool for one-way encrypted Secrets
- Kubernetes Secrets Store CSI Driver Integrates secrets stores with Kubernetes via a CSI volume.
