docker/docker-credential-helpers

Enhancement: Allow Different Credential Helpers for Images within the Same Repository

jackivanov opened this issue · 0 comments

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"
  }
}