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 Resposta
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 há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas