Skip to content

Use a Secret in Docker Hub Webhooks for Caller validation.  #51

Description

@mghazizadeh

Tell us about your request
Secure Docker Hub Webhooks

Which service(s) is this request for?
Docker Hub

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
We would like to use Webhooks to provide ready to deploy functions for Docker Hub workflow automation for the community, but we need Hub Webhooks to use some kind of security encryption using a secret so that the caller (ie: Docker Hub) can be validated.
Open to any of these:
Bearer Token
HAMC-SH1
HMAC-SH256
Content Type: application/json
Here is how GitHub does it:
https://developer.github.com/webhooks/creating/?Secret#secret

see also this issue:
docker/hub-feedback#1161

Are you currently working around the issue?
No. The workaround would open a pretty large security hole in our Webhook implementation.

Additional context
Again we want to build publicly available workflow and life cycle automation functions for Docker Hub community using Docker Hub webhooks as the trigger for those automations, but we have to make sure it can be done in a secure manner.

Metadata

Metadata

Labels

community_newNew idea raised by a community contributordocker_hubImprovements or additions to Docker Hub

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions