ECRAuthorizationTokenSpec uses the GetAuthorizationToken API to retrieve an authorization token. The authorization token is valid for 12 hours. For more information, see registry authentication in the Amazon Elastic Container Registry User Guide.
| Key | Description |
|---|---|
| username | username for the docker login command. |
| password | password for the docker login command. |
| proxy_endpoint | The registry URL to use for this authorization token in a docker login command. |
| expires_at | time when token expires in UNIX time (seconds since January 1, 1970 UTC). |
You can choose from three authentication mechanisms:
spec.auth.secretRefspec.auth.jwt{% include 'generator-ecr.yaml' %}