Skip to content

Error connecting to ECR with temporary password #3202

@macsj200

Description

@macsj200

I'm trying to connect to AWS ECR via the registries tab using the username AWS and a temporary password.

I obtain the temporary password with aws ecr get-login-password.

When I connect to the registry I get an Invalid JSON error.
image

Additionally, I encounter the following errors with incorrect/missing credentials:

Stale temporary password 403 error

image

No username/password set error

image

Does anybody have any suggestions for how to connect to ECR via this extension?

Note that I was able to successfully push a tagged image to ECR via the docker CLI so I believe my credentials are functional.

Related issue: I'd like to be able to easily re-authenticate (specify a new password) with an ECR URI.

This issue is also related, but I'd like to try this without re-configuring something like credsStore in ~/.docker/config.json (I already tried using the ECR creds helper and I want to see if I can get it to work with password-based auth).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions