Authenticate OPNSense user from a remote script

Started by besecur3man, March 18, 2021, 12:24:18 PM

Previous topic - Next topic
I have an OPNSense instance configured for a LDAP access server +Time based One Time Password authentication.

Is it possible using the OPNSense API (or through some other means) to authenticate a user via OPNSense from a shell script running on say a host connected to the OPNSense's LAN interface? E.g. shell script needs to use the OPNSense API to modify some settings, and the user invoking the shell script must be authenticated in order to run the script.