-
Notifications
You must be signed in to change notification settings - Fork 61
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
ORMB login should work with docker token #188
Comments
SGTM, it should work. But I am not sure if it is safe to read the docker auth config. |
I might be short-sighted here, but could you point me to why do you think it might not be safe. The use-case is that I have containers that are authenticated to push and pull to my docker registry using docker tokens and config. I wish to authenticate for ORMB as well using the same, rather than having to use a USERNAME and PASSWORD using a robot account. |
Docker config may have more than one user/pwd. If you are an administrator and you logged in many registries locally, I am not sure if you want to share the information with ormb client. But we can add a command or argument to support such case. I think. Maybe a command ormb auth-from-docker or something else. |
Thanks, I understand the concern now. Do you think it is possible for me to contribute to this, but I would need some help to understand a few things. |
Thanks! Your contribution is welcome! |
As you know, we are using Line 58 in c3a53c0
|
Thanks for pointing it out, I think I can start from here soon. Will ping back if I have any more questions 🙂 |
Sure, thanks. |
Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
Not able to login using docker token or docker base config.
What you expected to happen:
Should be able to login using docker token or docker base config.
How to reproduce it (as minimally and precisely as possible):
None
Anything else we need to know?:
Login using password and usernme is available but there is a need to be able to login using the docker login token or
.docker/.base_dockerconfig
The text was updated successfully, but these errors were encountered: