# awslabs/amazon-ecr-credential-helper

Automatically gets credentials for Amazon ECR on docker push/docker pull

Repository: https://github.com/awslabs/amazon-ecr-credential-helper
Canonical: https://ross.abutalabs.com/products/amazon-ecr-credential-helper
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2026-08-25T16:42:55+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 48, longevity 100
- inputs: {"age_days": 3754, "days_push": 8, "days_rel": 187, "gap_med": 111, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2714, forks 351 (observed 2026-08-28T04:07:12.000297+00:00)

## What it is
A Docker credential helper that automatically fetches AWS credentials for Amazon Elastic Container Registry (ECR) during docker push and docker pull. It is a small Go binary configured via Docker's config., eliminating the need to run `aws ecr get-login` manually.

## Use cases
- push images to Amazon ECR without manually running aws ecr get-login
- pull private images from ECR in CI/CD pipelines
- avoid storing long-lived ECR tokens in docker config
- automatically refresh expired ECR registry credentials
- authenticate docker daemon with AWS IAM credentials

## When to choose
- you regularly push or pull images to/from Amazon ECR
- you want token refresh handled automatically instead of 12-hour login tokens
- you run Docker on Linux, macOS, or Windows with AWS credentials available

## When to avoid
- you use a registry other than Amazon ECR
- you use Podman/containerd with different credential handling and no Docker daemon
- you cannot provide AWS credentials on the host

## Facets
- artifact type: cli-tool
- maturity: stable
- function: auth, developer-tools, container-runtime
- domain: cloud-computing, developer-tools
- platform: windows, cli
- tags: docker-credential-helper, amazon-ecr, aws, container-registry, devops, containers, linux, macos, docker

## Member repositories
- awslabs/amazon-ecr-credential-helper (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:12.000297+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:31.691373+00:00, confidence not recorded.
  - readme: https://github.com/awslabs/amazon-ecr-credential-helper (fetched 2026-08-28T04:07:12.000297+00:00, sha 2713a4c69717)
- Data as of 2026-08-30T08:39:29.467469+00:00.
