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

Document output format of credential helpers #131

Open
p opened this issue Dec 29, 2018 · 1 comment
Open

Document output format of credential helpers #131

p opened this issue Dec 29, 2018 · 1 comment

Comments

@p
Copy link

p commented Dec 29, 2018

The development section of the readme (https://github.com/docker/docker-credential-helpers/#development) specifies the input to credential helpers, but does not specify how the helpers should output the result.

Specifically:

  • Does get return the payload as provided to store?
  • What does list output?

I tried returning the payload in get and was not successful in making my helper work with docker.

@fullykubed
Copy link

For anyone stumbling on this like me, the format is to output to stdout a JSON payload looking like this:

{"Username":"","Secret":""}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants