Integrate with Kubernetes
HCP Vault Secrets allows users to automatically synchronize application secrets to a Kubernetes secret using the Vault Secrets Operator (VSO). This guide walks you through the configuration process.
Prerequisites:
- An Admin role in an HCP Project
- An HCP Vault Secrets application and secret(s)
- An HCP Service Principal and keys
- Helm installed
Configuration
Add the HashiCorp Helm repository.
Install the Vault Secrets Operator.
Create a Kubernetes secret for the HCP service principal credentials.
Configure Vault Secrets Operator with the HCP organization and project ID.
Create a Kubernetes secret using the
secrets.hashicorp.com/v1beta1
API.The secrets in the specified application will be synchronized to a Kubernetes secret.