#vault (2022-12)

vault Discussions related to Hashicorp Vault

2022-12-01

Mohsin Ijaz avatar
Mohsin Ijaz

Hi, I need help springboot application pod is not fetching the secrets from vault server. annotations does create the properties file with credentials inside pod at /vault/secrets but still not discoverable. Can anyone tell what i am doing wrong metadata: annotations: vault.hashicorp.com/agent-inject: “true” vault.hashicorp.com/agent-inject-status: “update” vault.hashicorp.com/agent-inject-secret-application-kube.properties: “kv/identity/creds/app” vault.hashicorp.com/role: “auth-service” vault.hashicorp.com/agent-inject-template-application-kube.properties: | {{- with secret “kv/identity/creds/app” -}} DB_URL={{ .Data.data.db_url }} DB_USERNAME={{ .Data.data.db_username }} DB_PASSWORD={{ .Data.data.db_password }} KEYCLOAK_USER={{ .Data.data.keycloak_user }} KEYCLOAK_PASS={{ .Data.data.keycloak_pass }} {{- end -}} vault.hashicorp.com/secret-volume-path-application.properties: “config/” vault.hashicorp.com/namespace: “demo”

2022-12-09

    keyboard_arrow_up