question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for alternate credential stores

See original GitHub issue

It would seem that in the latest versions of Docker, there may be a shift from Docker handling the storage of registry credentials in it’s ~/.docker/config.json to using 3rd-party or OS provided credential managers. See the docker login reference and docker-crenetial-helpers project for more details on this and the implementation.

This is certainly, the default configuration as it stands for Windows as running docker login will not add the older format of an auths with server objects that have an auth token (as happens with docker on Linux right now).

From what I can see, and I could be mistaken having only had a quick browse of the source online, but the current implementation relies on either a username/password pair in the config.json or an auth token. Implementation would require the checking of the credsStore field with dispatch the appropriate implementation as well as concrete implementations being provided for osxkeychain, secretservice and wincred.

I will reproduce and add the log output for the error when trying to pull or push from a windows system where it will use "credsStore": "win" when I get a chance.

There has been some discussion on this with the #532 PR.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
anirudhsrcommented, Jun 26, 2017

What server tag did you add ? I’m sorry how was this issue fixed it’s not clear to me.

1reaction
rodlogiccommented, Sep 14, 2017

It seems that the <server> workaround above will not work nicely with AWS ECR since it generates a temporary user/password.

Is there a work around for AWS ECR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 4. Securely Storing Credentials Red Hat JBoss ...
The provider must add the custom credential store class as a service. Create a module containing your credential store and provider classes, and...
Read more >
Configure a credential store type to support third-party ...
Configure a credential store type to support third-party password auto-generation ; Navigate to All > Password Reset > Extensions > Credential ...
Read more >
Add Credential support to PowerShell functions
This article shows you how to add credential parameters to PowerShell functions and why you'd want to. A credential parameter is to allow ......
Read more >
Using Alternate Credentials - SystemTools
To enter an alternate set of credentials, right click on any Active Directory domain, and select 'Authentication Credentials...' The resulting dialog will ...
Read more >
Choosing a customer credential store – AD, AD:LDS, LDAP or ...
The main benefit of AD:LDS as a customer credential store is that it deploys with a predefined schema that can be extended in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found