Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for default credential store #737

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

koshatul
Copy link

@koshatul koshatul commented Nov 1, 2019

What change does this introduce?

Added a check for credsStore in the ${HOME}/.docker/config.json file, at least on OSX the auths list is just URIs and there isn't a credHelpers list.

Why make this change?

To implement authentication when using applications that import this library on OSX and possibly other BSD/*nix OS

What approach will be taken?

Implement the check for a default credentials store past the registry specific credHelpers list.

Makefile Outdated Show resolved Hide resolved
pkg/docker/config/config.go Outdated Show resolved Hide resolved
pkg/docker/config/config_test.go Outdated Show resolved Hide resolved
pkg/docker/config/testdata/helper.json Show resolved Hide resolved
changed order of importance for auths.CredStore, and added functions
for using RemoveAll with credential helpers

Signed-off-by: Kosh <[email protected]>
@koshatul koshatul force-pushed the add-credstore-support branch from 251cab8 to 77f9895 Compare November 13, 2019 01:09
@mtrmac mtrmac added the kind/feature A request for, or a PR adding, new functionality label Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for, or a PR adding, new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants