Search code examples
securitypostmanpostman-collection-runner

Can postman take environment values from the system environment variables?


As for security reasons I don't want to push username and password to my GitHub account when I export the environment variables .json of postman, so I want to map the values or get the values from the environment variables of the running machine.


Solution

  • This is not something that Postman currently supports.

    https://github.com/postmanlabs/postman-app-support/issues/1603

    You're best bet would be to use a wrapper script to replace variables with usernames, passwords, etc at runtime.