Download images from ECR using cognito authn

0

Hello I have containerized application running on bare-metal machine (remote, not in cloud)

The application communicate using Cognito client credentials flow (get access token using key & secret)

There is way to pull images from ECR using Cognito access token? Maybe put a Lambda in the middle that get the token, authorize it and download with injected-predefined username & password?

1 Answer
1

You can pull private images with Cognito and ECR by using the ECR Credential Helper to configure authn for users in pools or through federated identities.

This blog provides an example: pulling-docker-images-from-ecr-registries-with-a-cognito-user-pool-identity

AWS
AWS-SD
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions