Data from Vault in Environment variables

Hello Post Community.

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:

  1. Local Vault keeps a password
  2. I create an Environment variable pointing to the password stored in the vault.
  3. I use the Env var in requests.

Thank you for your help in advance.

Hey @vorand :waving_hand:

Welcome to the Postman Community! :postman:

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:

Hello @danny-dainton.

Thank you for the workaround. This is exactly what I need.