docker / docker-credential-helpers

Programs to keep Docker login credentials safe by storing in platform keystores
MIT License
1.1k stars 173 forks source link

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

Open jackivanov opened 9 months ago

jackivanov commented 9 months ago

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