I was wondering if there is a way to hash fetched sample strings - for example I have api servers and haproxy servers - I want HAProxy to set a header (i.e.'X-Secure') with a hashed concatenation of the request id and a 'shared secret' that I can have on both api and haproxy through configuration management software (chef)
my intention is to have a header that proves the request came from haproxy and was not sent directly to the api via a third party. I intend to have the api perform the same hash and compare it. if there is a better way to handle this, issue, please let me know. Thank you in advance, Paul