docker / docker/docker-credential-helpers

Store credentials for multiple accounts

Open
#326 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
195
Avg merge
1d 20h
Merged PRs (30d)
5

Description

I have multiple .docker config dirs to manage different DockerHub accounts across projects. I would like to use the secretservice manager, but it shares one login across all the docker configs.

This might be simple enough to implement if the key for the stored credential was https://index.docker.io/v1/:$USERNAME instead of just https://index.docker.io/v1/.

In which case, the ./docker/config.json entry would probably need to look more like this:

{
  "credsStore": "osxkeychain",
  "username": "blah"
}

So that docker-credentials-xxx knows which credential to pull.

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

The issue names no repository files, tests, or entry points. Start by locating the credential-manager implementation and its configuration handling, then compare the existing single-account key behavior with the proposed username-qualified key and config shape; done means multiple Docker config directories can retrieve distinct accounts without breaking existing credentials.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.