邮递员可以从系统环境变量中获取环境值吗? [英] Can postman take environment values from the system environment variables?

查看:84
本文介绍了邮递员可以从系统环境变量中获取环境值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于安全原因,我不想在导出 postman 的环境变量 .json 时将用户名和密码推送到我的 github 帐户,因此我想映射值或从运行的环境变量中获取值机器

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

推荐答案

这不是 Postman 当前支持的内容.

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.

这篇关于邮递员可以从系统环境变量中获取环境值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆