AWS Containersยท
Use Amazon ECR global authentication token across AWS Regions
TL;DR
Region-specific Amazon ECR tokens complicate image pushes, pulls, and failover across AWS Regions. ECR now accepts a single AWS Sign-In token across Regions in the same AWS partition, with a configurable lifetime from 5 minutes to 12 hours and unchanged IAM permission checks. The walkthrough demonstrates pushing and pulling images in two Regions with one token, simplifying authentication without changing regional image storage or replication.
Relevant links
- Amazon Elastic Container Registryaws.amazon.com
- Announcementsaws.amazon.com
- Intermediate (200)aws.amazon.com
- Amazon ECR Docker Credential Helpergithub.com
- Kubernetes ECR credential providergithub.com
- Amazon ECR Login action for GitHub Actionsgithub.com
- AWS CLIdocs.aws.amazon.com
- Adding and removing IAM identity permissionsdocs.aws.amazon.com
- Private registry authentication in Amazon ECRdocs.aws.amazon.com
- CreateBearerTokendocs.aws.amazon.com
- create-bearer-tokendocs.aws.amazon.com