Home > OS >  Secure Webhook of Git Repository
Secure Webhook of Git Repository

Time:07-01

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

enter image description here

Now copy and paste the function key in git repository under settings in webhook add key.

enter image description here

for more information you can refer the Microsoft document.

  • Related