If options are provided in the configuration they would take precedence over ENV, but more importantly if you only specify ADDRESS as an option, it will not take TOKEN from the env.
I think this behaviour could be improved to look for the value in the environment and if not found, check the opts. I'm happy to provide PR.
While I noticed the problem in Vault provider, there may be similar behaviour elsewhere, I haven't checked.
A typical expected behaviour for any options would be:
Looking at this code however, it seems that there is a problem: https://github.com/tellerops/teller/blob/master/teller-providers/src/providers/hashicorp_vault.rs#L61
If options are provided in the configuration they would take precedence over ENV, but more importantly if you only specify ADDRESS as an option, it will not take TOKEN from the env.
I think this behaviour could be improved to look for the value in the environment and if not found, check the opts. I'm happy to provide PR.
While I noticed the problem in Vault provider, there may be similar behaviour elsewhere, I haven't checked.