docker / docker/docker-credential-helpers
Enhancement: Allow Different Credential Helpers for Images within the Same Repository
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 195
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
Issue Summary:
I would like to propose an enhancement to Docker's credential helper configuration to allow specifying different credential helpers for images within the same repository.
Detailed Description:
The current Docker credential helper configuration allows associating a credential helper with a registry. However, in scenarios where different images within the same repository require distinct authentication mechanisms, the current configuration does not provide the necessary granularity.
Proposed Enhancement:
I propose extending the credHelpers configuration to support image-specific credential helper assignments. For example:
{
"credHelpers": {
"registry/image1": "helper1",
"registry/image2": "helper2"
}
}
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
Start by reviewing the existing Docker credHelpers configuration handling and how registry credentials are selected. Determine how image-specific keys such as registry/image1 and registry/image2 should be matched, then verify that distinct helpers can be selected for images in the same repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100