Sign inSign up

efritz/ij-ecr-token

By efritz

•Updated over 7 years ago

Output an AWS ECR token from standard credentials.

Image
0

1.9K

efritz/ij-ecr-token repository overview

⁠ECR Token Generator

This Docker image runs commands via AWS CLI and outputs an AWS authorization token capable of logging into an ECR registry.

The following environment variables tell the entrypoint how to authenticate.

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION (defaults to us-east-1)

Additionally, if the following variables are supplied, the entrypoint will try to a assume a role in a different account.

  • AWS_ACCOUNT_ID
  • AWS_ROLE

Tag summary

Content type

Image

Digest

Size

27.5 MB

Last updated

over 7 years ago

docker pull efritz/ij-ecr-token