moby / moby/buildkit

Support credentials injected in the buildkit server

Open
#3,304 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Description

We have a use case where we are running a buildkit server in the Cloud shared by several developers. This is giving us great performance and cache behavior.

Some of our based images are in a private docker registry and are only built/pushed on CI, so developers don't usually have access to this registry. Adding credentials for each new developer is a lot of friction for us, and these credentials are hard to rotate.

We would like to add these credentials to the buildkit server. This way, the session will fetch the client credentials and add the server-side credentials too. We wouldn't need accounts in the registry for every developer, and rotating credentials would be easier because we would only need to rotate the buildkit server credentials.

In this something that aligns with the scope of the project? If so, we are more than happy to work on a PR :-)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the buildkit server handles session credentials and authentication for private Docker registries. The scope and implementation entry points are not specified in the issue; done would require an agreed design for adding server-side credentials while preserving client access and allowing server-side rotation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
authentication, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.