Overview of Vault Config Operator
mainThe Vault Config Operator is designed to automate the setup of Vault configurations within Kubernetes, specifically enabling pods to consume secrets effectively.
It operates on two core principles:
- High-fidelity API: The Custom Resource Definitions (CRDs) provided by the operator map field-for-field to the official HashiCorp Vault APIs. This ensures that the operator does not make assumptions about your specific configuration workflow and provides a direct interface to Vault's extensive capabilities.
- Security-first approach: To prevent credential leaks, the operator itself is granted no permissions within Vault. Instead, all APIs exposed by the operator use a local service account (local to the namespace where the API resource exists) to authenticate to Vault.
Note on Permissions: For a user in a namespace to successfully configure Vault via the operator, a service account in that same namespace must have been previously granted the necessary permissions within Vault.