Use Amazon ECR global authentication token across AWS Regions
Amazon ECR now supports global authentication tokens that are requested once from AWS Sign-In and accepted by ECR regional endpoints in any Region of the same partition. Tokens default to 12 hours and can be set as short as 5 minutes, and CloudTrail records a sign-in session ARN that links token requests to image activity. The Amazon ECR Docker Credential Helper, Kubernetes ECR credential provider and Amazon ECR Login action for GitHub Actions can opt in to global tokens, and regional tokens continue to work.
What changes for platform teams
Platform teams running multi-Region clusters or routing image pushes and pulls across Regions can use one token instead of fetching one per Region, and can set short lifetimes for deployment jobs. Teams must opt in per tool, require AWS CLI 2.39.7 or later for the new command, and check that credential stores accept variable-length tokens.
Read the original at AWS Containers Blog ↗
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules