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

Authorization support required in ext_pillar http_json modules. #36138

Open
zhujinhe opened this issue Sep 8, 2016 · 3 comments · May be fixed by #61213
Open

Authorization support required in ext_pillar http_json modules. #36138

zhujinhe opened this issue Sep 8, 2016 · 3 comments · May be fixed by #61213

Comments

@zhujinhe
Copy link
Contributor

@zhujinhe zhujinhe commented Sep 8, 2016

salt['http.query'] function support lots of parameters via utils/http.py.
However, only 'url' parameter supported in salt/salt/pillar/http_json.py now.
Could we add support for other parameters such as header_dict so that we can do some authorization stuff by:

  ext_pillar:
    - http_json:
        url: http://example.com/api/minion_id
        header_dict: {foo: bar}
        key_foo: value_bar
@Ch3LL
Copy link
Contributor

@Ch3LL Ch3LL commented Sep 8, 2016

@zhujinhe sounds like a good idea. will approve as a feature request. thanks

@Ch3LL Ch3LL added this to the Approved milestone Sep 8, 2016
@stale
Copy link

@stale stale bot commented Jun 30, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@MKLeb
Copy link
Collaborator

@MKLeb MKLeb commented Nov 10, 2021

Reopening for #61213

@MKLeb MKLeb reopened this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants