concourse / concourse/docker-image-resource

failed to get ECR credentials: credentials not found in native keychain

Open
#349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
162
Forks
250
PR merge metrics
No merged PRs in 30d

Description

I'm recieving this error, with the "put" task in our pipe staing that basic auth credentials not found.

    type: docker-image
    icon: docker
    source:
      repository: ((ACCOUNT)).dkr.ecr.((REGION)).amazonaws.com:443/((ENV))-((WORKFLOW))-ecr
      aws_access_key_id: ((KEY))
      aws_secret_access_key: ((SECRET))

The access_key and secret are pulled from a Concourse secrets manager and work in other areas of the pipe. I also have ecr:* in the IAM policy of the User in question. Yet still getting the error in the title. I even tried avoiding the variable and going verbatim. What am I missing?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the put task with the shown docker-image configuration and the supplied Concourse variables, then compare it with the other pipeline areas where the credentials work. Determine why the ECR credentials are reported as missing and verify the result with a focused reproduction or regression test; no source file or existing test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, go
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.