I have crafted a curl to the rest API in Bitbucket Server to create a webhook for an existing repository, I am able to set all the required fields, except the 'secret' value.
My experience has been that without this secret any webcall back to my Argo Events 'Sensor' results in a missing signature header error.
Obviously I could set the value manually in a click ops way, but I'm trying to automate this process.
Any tips or suggestions? I've already looked through the documentation for creating a webhook, updating a webhook, looked through existing github.com repositories for some example code, and haven't found a solution yet.
Thank you kindly
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.