Kubernetes, Spring Boot, Vault, Postgres, Docker.
\"myapp-db/creds/myapp-db-role\" {\n capabilities = [\"read\"]\n}" } Now create the policy: curl -X POST -H "X-Vault-Token: ${VAULT_TOKEN}" http://localhost:31400/v1/sys/policies/acl/myapp-db-policy -d @k8s/vault/myapp-db-policy.json This has created a policy that allows us to read the database