Since I am a complete newbie in Postman and have been studying it for a few weeks, I need your advice on how to use vault data in environment variables. It seems as if it is impossible to use data from vaults in env variables. Whenever I put something like this “{{Vault::PASS}}” into a variable, let’s call it PASS, and substitute the env variable in a request, Postman uses “{{Vault::PASS}}” in clear text and does not grab data from my local vault.
Please advise me on how to meet my requirements, if it is technically possible.
Again, I need the following:
Local Vault keeps a password
I create an Environment variable pointing to the password stored in the vault.
Could you provide a little more context around your workflow, please?
If there a reason that you wanted to pass those into a different variable scope? You can directly add the variables from the Postman Vault into your Collection elements (Requests, Scripts, etc.) using the {{vault:PASS}} syntax.
This was also a different method/workaround that was used by a different user for their workflow: