I have a webhook in git Repository and that is connected Azure functions and I want to secure my webhook is there a way that I can do it.
CodePudding user response:
In your function app index.js
file you need to add crypto-js
library.
const Crypto = require('crypto');
Then copy the function keys from the function app
Now copy and paste the function key in git repository under settings in webhook add key.
for more information you can refer the Microsoft document.