---
sidebar_label: ecr
# dagger.io/aws/ecr
Amazon Elastic Container Registry (ECR)
## #Credentials
Convert ECR credentials to Docker Login format
### #Credentials Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*config.region* | `string` |AWS region |
|*config.accessKey* | `dagger.#Secret` |AWS access key |
|*config.secretKey* | `dagger.#Secret` |AWS secret key |
|*ctr.image.config.region* | `string` |AWS region |
|*ctr.image.config.accessKey* | `dagger.#Secret` |AWS access key |
|*ctr.image.config.secretKey* | `dagger.#Secret` |AWS secret key |
### #Credentials Outputs
|*username* | `"AWS"` |ECR registry |
|*secret* | `string` |ECR registry secret |