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
已提問 8 個月前檢視次數 267 次
1 個回答
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
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南