Using credentials from Vault in docker compose

Hi All,

A noob with vault here. So, I am trying to write a docker compose file where I want to use the kv creds in docker compose file to authenticate a postgresql db. Also, need to add the same credentials in django file so that my django app can push/pull data from the aforementioned db.

I just want to add here that I want to retrieve the password from Vault not have an Agent installed to pull the credentials in this use case. Please let me know how to do this.

Thanks in advance!

1 Like