when I read these two doc pages:
I thought templating will respect env vars such as
however these seem to be no respected except
VAULT_ADDR. It only worked properly when I add explicitly all cert configs in vault agent config file rather than having it in env vars.
If it’s a bug than I will file an issue it on GitHub. At the moment I’m not sure if this is a bug or if I’m doing it right. So I wanted to discuss with you before I file an issue.