I have the same problem as here.
What I already did:
- Generated the keys with
php bin/console secrets:set DATABASE_PASSWORD
(both for dev and prod) - Variable can be seen with
php bin/console secrets:list
- I am trying to reference it inside the doctrine.yaml file with '%env(DATABASE_PASSWORD)%'
- And I get an exception (Environment variable not found: "DATABASE_PASSWORD").
I have a sodium extension enabled in main ini.file. Any idea what's wrong and what is missing?