I have an application on a network server that has an intranet interface and a command line interface. When a user visits the app site via a browser, they are presented with an authentication box that uses LDAP on the back end. Once validated, they may proceed.
The CLI needs to be usable from any server on the network by a logged in user. Perhaps my application architecture needs changing, but right now the CLI executes a
curl statement that reaches out to the app server and sends some data gathered from the console.
When I do it manually, I have to specify my credentials with the
curl call. My question is, because I am already logged into the server initiating the call, how do I configure the security model to allow me to make the call without passing in my credentials? The catch here is that the script on the other end (app server) needs to know my login. I was envisioning some kind of pass-through.