Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash script support #49

Closed
Zethson opened this issue Oct 30, 2018 · 4 comments
Closed

Bash script support #49

Zethson opened this issue Oct 30, 2018 · 4 comments
Assignees
Milestone

Comments

@Zethson
Copy link
Collaborator

Zethson commented Oct 30, 2018

Since postman is currently dependent on a console for password input, it cannot be run from bash scripts.
This hinders automation and parallelization.

One workaround is to add a password commandline option, however then the password would be entered in plain text. The config file would then support the password as well.

remkop/picocli#536

Picocli currently does not support interactive hidden passwords combined with password parameters natively. Workarounds are described in the issue.

@Zethson Zethson self-assigned this Oct 30, 2018
@Zethson Zethson added this to the Postman 0.4 milestone Nov 6, 2018
@Zethson
Copy link
Collaborator Author

Zethson commented Nov 6, 2018

It could of course also be a good idea to parallelize postman anyways....

@sven1103
Copy link
Contributor

sven1103 commented Nov 6, 2018

You could check for the presence of an environmental variable like POSTMANPWD and POSTMANUSER and use these if set.

@Zethson
Copy link
Collaborator Author

Zethson commented Nov 6, 2018

That's a good idea, thanks!

@sven1103 sven1103 self-assigned this Nov 8, 2018
@sven1103
Copy link
Contributor

sven1103 commented Nov 8, 2018

After thinking about it, and talking to different people, we should not support credentials in environment vars, even if they are only temporary in the terminal session. To big security concern, and admins could spoof credentials from users ;)

@sven1103 sven1103 closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants