-
Notifications
You must be signed in to change notification settings - Fork 186
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
Make --identity-token
an alias of --password
#742
Comments
What if a user mistakenly use |
I think we should return error for this case. |
I would like to work on this |
@rafiya2003 If you have any questions, feel free to join oras slack and ping me |
Not all registry support token refreshing from identity token to registry token. E.g. ghcr returns 405 for token refreshing. @shizhMSFT We should also add a flag |
That can be another issue and I noticed that you have created one #968 |
I have completed the implementation. Will try to push it soon, |
@sbdtu5498 Any update on this? |
Oh sorry for the delays. I was busy with some other stuff and left the task hanging. Will push it before Monday. |
@shizhMSFT Do we also need |
SGTM but is that |
@sbdtu5498 So we need to add another flag to enable read identity token from stdin like: echo $TOKEN | oras login $REGISTRY --identity-token-stdin |
Sure, will do it ASAP. Sorry for the delayed response. |
What is the version of your ORAS CLI
v0.16.0
What would you like to be added?
Make
--identity-token
an alias of--password
Why is this needed for ORAS?
oras
supports using identity token as the credential without a username.The UX of
oras login $REGISTRY --password $TOKEN
does not seem good enough. It will be better if it isAre you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: