...
Furthermore, the Edit Check settings page will look like this:
...
Step 1: Add
...
Existing Credentials to a Postman
...
Environment
Postman environments allow for the storage of secrets/keys so that they can be re-used/hidden in Postman. By moving your credentials to the Postman environment, you are allowing them to be exported into a format which the Postman check runner will able to read. Here is an example of an Environment we set up in Postman which will store our GitHub credentials:
...
You will reference the “Variable” “variable” in your script as an environment variable. For example, this script uses {{apiKey}} since the Variable variable is apiKey.
Step 2: Export Postman environment to file
...
The environment file (uploaded from Postman) and the Postman file should be stored in the same directory. In my our example, we stored our Postman collection in /postman relative to my Repository Root which we defined in our Repository Profile:
...