Sharing ECR Repos
Last updated
Was this helpful?
Last updated
Was this helpful?
You can grant another AWS account access to the images stored in your Amazon Elastic Container Registry (ECR) by configuring a repository policy. This allows external AWS accounts to pull (download) or push (upload) container images to your repository. Granting such access is useful when you need to share container images with other teams, partners, or automated systems that require access to your ECR repository.
To grant access to your ECR repository, using one of the policies below. Replace ACCOUNT_ID
with the ID of the AWS account that needs access to the repository (not the account that contains the repo you are sharing).
This policy allows the other AWS account to pull (download) images from your ECS repository.
This policy allows the other AWS account to pull (download) and push (upload) images from your ECS repository.