{"action":"created","issue":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/836","repository_url":"https://api.github.com/repos/postmanlabs/newman","labels_url":"https://api.github.com/repos/postmanlabs/newman/issues/836/labels{/name}","comments_url":"https://api.github.com/repos/postmanlabs/newman/issues/836/comments","events_url":"https://api.github.com/repos/postmanlabs/newman/issues/836/events","html_url":"https://github.com/postmanlabs/newman/issues/836","id":197545143,"number":836,"title":"Is there a way to fetch the basic authentication username and passwords from environment","user":{"login":"gkumbhat","id":10690477,"avatar_url":"https://avatars.githubusercontent.com/u/10690477?v=3","gravatar_id":"","url":"https://api.github.com/users/gkumbhat","html_url":"https://github.com/gkumbhat","followers_url":"https://api.github.com/users/gkumbhat/followers","following_url":"https://api.github.com/users/gkumbhat/following{/other_user}","gists_url":"https://api.github.com/users/gkumbhat/gists{/gist_id}","starred_url":"https://api.github.com/users/gkumbhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkumbhat/subscriptions","organizations_url":"https://api.github.com/users/gkumbhat/orgs","repos_url":"https://api.github.com/users/gkumbhat/repos","events_url":"https://api.github.com/users/gkumbhat/events{/privacy}","received_events_url":"https://api.github.com/users/gkumbhat/received_events","type":"User","site_admin":false},"labels":[{"id":96419019,"url":"https://api.github.com/repos/postmanlabs/newman/labels/feature%20request","name":"feature request","color":"009800","default":false},{"id":84268811,"url":"https://api.github.com/repos/postmanlabs/newman/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"kunagpal","id":7289840,"avatar_url":"https://avatars.githubusercontent.com/u/7289840?v=3","gravatar_id":"","url":"https://api.github.com/users/kunagpal","html_url":"https://github.com/kunagpal","followers_url":"https://api.github.com/users/kunagpal/followers","following_url":"https://api.github.com/users/kunagpal/following{/other_user}","gists_url":"https://api.github.com/users/kunagpal/gists{/gist_id}","starred_url":"https://api.github.com/users/kunagpal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunagpal/subscriptions","organizations_url":"https://api.github.com/users/kunagpal/orgs","repos_url":"https://api.github.com/users/kunagpal/repos","events_url":"https://api.github.com/users/kunagpal/events{/privacy}","received_events_url":"https://api.github.com/users/kunagpal/received_events","type":"User","site_admin":false},"assignees":[{"login":"kunagpal","id":7289840,"avatar_url":"https://avatars.githubusercontent.com/u/7289840?v=3","gravatar_id":"","url":"https://api.github.com/users/kunagpal","html_url":"https://github.com/kunagpal","followers_url":"https://api.github.com/users/kunagpal/followers","following_url":"https://api.github.com/users/kunagpal/following{/other_user}","gists_url":"https://api.github.com/users/kunagpal/gists{/gist_id}","starred_url":"https://api.github.com/users/kunagpal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunagpal/subscriptions","organizations_url":"https://api.github.com/users/kunagpal/orgs","repos_url":"https://api.github.com/users/kunagpal/repos","events_url":"https://api.github.com/users/kunagpal/events{/privacy}","received_events_url":"https://api.github.com/users/kunagpal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-26T06:48:04Z","updated_at":"2016-12-26T08:54:19Z","closed_at":null,"body":"I have a set of tests which need username and password to access the service. For security reasons I cannot post the credentials directly in the generated test json file. Therefore, I need to fetch these credentials from running terminal environment. Is there a way to fetch them from environment or any work around?"},"comment":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/comments/269186282","html_url":"https://github.com/postmanlabs/newman/issues/836#issuecomment-269186282","issue_url":"https://api.github.com/repos/postmanlabs/newman/issues/836","id":269186282,"user":{"login":"kunagpal","id":7289840,"avatar_url":"https://avatars.githubusercontent.com/u/7289840?v=3","gravatar_id":"","url":"https://api.github.com/users/kunagpal","html_url":"https://github.com/kunagpal","followers_url":"https://api.github.com/users/kunagpal/followers","following_url":"https://api.github.com/users/kunagpal/following{/other_user}","gists_url":"https://api.github.com/users/kunagpal/gists{/gist_id}","starred_url":"https://api.github.com/users/kunagpal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunagpal/subscriptions","organizations_url":"https://api.github.com/users/kunagpal/orgs","repos_url":"https://api.github.com/users/kunagpal/repos","events_url":"https://api.github.com/users/kunagpal/events{/privacy}","received_events_url":"https://api.github.com/users/kunagpal/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T08:54:19Z","updated_at":"2016-12-26T08:54:19Z","body":"Although fetching values directly from the process environment is currently not supported, you can use environment files to isolate potentially sensitive data from the test collection file. More details here: https://www.getpostman.com/docs/environments. Once your environment has been created, you can export it and use it as follows:\r\n```\r\nnewman run collection.json -e env.json\r\n```\r\nHere, `env.json` is the environment exported from the Postman Client."}}
{"actor":{"display_login":"kunagpal"}}