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 réponse
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
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions