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.

Handle "<token>" as Username from credential helpers.

See original GitHub issue

The Docker Credential helper protocol specifies:

If the secret being stored is an identity token, the Username should be set to <token>.

Jib should consider the case where the username received from a credential helper is <token> and authenticate by using the Secret as an identity token. See https://github.com/Azure/acr-docker-credential-helper/issues/31#issuecomment-457460762 for an example.

Originates from https://github.com/Azure/acr-docker-credential-helper/issues/31#issuecomment-465318647

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
coollogcommented, Feb 22, 2019

@andxu thanks! It might be a bit involved and I would recommend outlining your approach here first and splitting the work into multiple subtasks. Let us know if you have any questions!

0reactions
andxucommented, Mar 8, 2019

@coollog @chanseokoh Thank you all for your works to make acr supported.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gitcredentials Documentation - Git
Static configuration of usernames for a given authentication context. Credential helpers to cache or store passwords, or to interact with a system password ......
Read more >
Handle credential responses with JavaScript functions
You can set a JavaScript function in the data-callback attribute to handle the returned credential response. See the following code snippet:.
Read more >
git credential helpers
As always, needs username when setting the credential. No need to supply username to get some token that matches the host. This is...
Read more >
Authentication methods | Container Registry documentation
The credential helper fetches your Container Registry credentials—either automatically, or from a location specified using its --token-source flag—then writes ...
Read more >
How can I save username and password in Git? - Stack Overflow
git config --global credential.helper store. then git pull. provide a username and password and those details will then be remembered later. The credentials ......
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