xWyatt / check_rest_api

Nagios Core plugin to check output from a RESTful JSON API
GNU General Public License v3.0
10 stars 5 forks source link

how to auth using --negotiate #18

Closed hs-hub-world closed 1 year ago

hs-hub-world commented 2 years ago

for example with curl, we use --negotiate, can we do the same with check_rest_api -?

curl https://server/92936TAJ1 --negotiate -u coolUser

Thanks! H

xWyatt commented 2 years ago

Unfortunately I'm not familiar with Kerberos/GSS authentication via CURL nor do I have an environment to test this with.

If you can send me the headers CURL is sending to your server when using that command with and without the --negotiate flag I may be able to add something. I would need you to test it out for me before I publish though.