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

az acr login store wrong username in mac keychain #709

Closed
ptantanis opened this issue Sep 13, 2023 · 1 comment
Closed

az acr login store wrong username in mac keychain #709

ptantanis opened this issue Sep 13, 2023 · 1 comment
Labels

Comments

@ptantanis
Copy link

Describe the bug
Hi,

I'm using some lib to pull image from registry. This lib will call docker-credential-desktop command to get user/pass and then call docker api to pull image.

The problem is username store with az acr login in mac keychain is <token> instead of 00000000-0000-0000-0000-000000000000 which cause authentication fail because of wrong username.

To Reproduce
Steps to reproduce the behavior:

  1. Log in with az acr login -n <registry name> Individual login with Azure AD
  2. Run echo <registry url> | docker-credential-desktop get
  3. Got Username":""

Expected behavior
store account name as 00000000-0000-0000-0000-000000000000 instead of <token>

Screenshots
image

Any relevant environment information

  • OS: macos 13.5.2
  • azure-cli 2.52.0
  • Docker desktop 4.22.1
@ptantanis ptantanis added the bug label Sep 13, 2023
@ptantanis
Copy link
Author

Docker login command also store username as <token>. so this probably not az acr login false.

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

No branches or pull requests

1 participant