docker / docker/docker-credential-helpers
Store credentials for multiple accounts
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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