External Secrets Operator integrates with HashiCorp Vault for secret management. Vault itself implements lots of different secret engines, as of now we only support the KV Secrets Engine.
We support three different modes for authentication: token-based, appRole and kubernetes-native, each one comes with it's own trade-offs. Depending on the authentication method you need to adapt your environment.
A static token is stored in a Kind=Secret and is used to authenticate with vault.
{% include 'vault-token-store.yaml' %}
AppRole authentication reads the secret id from a
Kind=Secret and uses the specified roleId to aquire a temporary token to fetch secrets.
{% include 'vault-approle-store.yaml' %}
Kubernetes-native authentication has three options of optaining credentials for vault:
serviceAccountRefKind=Secret referenced by the secretRef{% include 'vault-kubernetes-store.yaml' %}
