I am currently running HashiCorp Vault on AWS EKS, deployed via the official Helm chart. Vault is configured to use AWS RDS (PostgreSQL) as the storage backend. The integration is working correctly and Vault is functioning as expected.
However, I have concerns,
Currently, the PostgreSQL connection details (especially the password) are defined in plain text within the Helm values file. This raises security concerns, and I would prefer to handle sensitive credentials in a more secure way, I tried few methods using kubernetes-secrets but that did not worked with helm config file. Is there any suggest way around it ?
I am using below settings in my config:
storage "postgresql" {
connection_url="postgres://postgres:******@********.us-east-1.rds.amazonaws.com:5432/vaultdb"
table="vault_kv_store",
ha_enabled=true,
ha_table="vault_ha_locks"
}