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?

shaiz
preguntada hace 8 meses267 visualizaciones
1 Respuesta
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
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas