You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a generic account/user setup in CI system (Jenkins) for the webhooks to trigger provider verification builds whenever a new pact is published (event - contract_requiring_verification_published).
Users (provider teams) are having to provide the same basic auth username/password every time they create a new webhook. And when ever the password for the generic account changes, the users needs to update all of their webhooks with new password.
For setup like this(which I think is quite common?), would it be good if we have an option to set up the basic auth username/password globally (in a similar fashion to how pact broker's basic auth username and password are setup) and add it to the webhooks runtime dynamically.
This way, whenever the password for CI generic account changes, we have to update it in just one place rather than in every webhook.
Hi Praveen, yes I do think it's a common scenario (which is why we added it to Pactflow). I'd suggest automating your webhook creation via the CLI, API or https://github.com/pactflow/terraform-provider-pact/ provider, and this way you can update them more reliably using IaC instead of manually.
Matt Fellows: Thanks for the suggestions Matt. I am currently using CLI. Terraform option looks very interesting - I will explore it bit more. Thanks again.
I have a generic account/user setup in CI system (Jenkins) for the webhooks to trigger provider verification builds whenever a new pact is published (event - contract_requiring_verification_published).
Users (provider teams) are having to provide the same basic auth username/password every time they create a new webhook. And when ever the password for the generic account changes, the users needs to update all of their webhooks with new password.
For setup like this(which I think is quite common?), would it be good if we have an option to set up the basic auth username/password globally (in a similar fashion to how pact broker's basic auth username and password are setup) and add it to the webhooks runtime dynamically.
This way, whenever the password for CI generic account changes, we have to update it in just one place rather than in every webhook.
https://pact.canny.io/admin/board/feature-requests/p/webhook-basic-auth-usernamepassword-for-generic-account
The text was updated successfully, but these errors were encountered: