Need to be able to generate a HMAC hash for authentication and insert it into json payload to restful service
I need to be able to generate a HMAC hash for authentication and insert it into json payload to a restful service.

Thanks for your idea.
5 comments
-
beheer commented
Need to generate a HMAC auth token from diff string like nonce, datetime, secret, etc. Should be nice to generate directly from LA of with Function app. Like Postman pre-request script.
-
Anonymous commented
Would be very helpful!!
-
Jorrit Idsingh commented
Same here :) need to add a signed string to the header of a post in HMAC SHA-512. would be nice to have!
-
Matthew Morgan commented
I agree. I think Logic Apps are fairly limited in their knowledge of security flows. Either your target API is secured with AAD client credentials, you can use cert-based or Basic Auth. All of these options rely entirely on TLS and have no protection against replay.
-
Paul Daly commented
To be more specific, I think that a HMAC-SHA256 method that would satisfy the SAS requirement described here is what is needed: