docker-credential-helpers icon indicating copy to clipboard operation
docker-credential-helpers copied to clipboard

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

Open jackivanov opened this issue 6 months ago • 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"
  }
}

jackivanov avatar Feb 20 '24 18:02 jackivanov