Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook: basic auth username/password for generic account #71

Open
canny bot opened this issue Jun 26, 2024 · 3 comments
Open

Webhook: basic auth username/password for generic account #71

canny bot opened this issue Jun 26, 2024 · 3 comments

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

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

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: Webhook: basic auth username/password for generic account 🎉

@YOU54F
Copy link
Member

YOU54F commented Jun 27, 2024

Matt Fellows - December 3, 2021

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.

@YOU54F
Copy link
Member

YOU54F commented Jun 27, 2024

Praveen Erode Mohanasundaram - December 4, 2021

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.

1 like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant