-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Temporary Access Token for a Robot Account #18595
Comments
harbor version is latest docker image |
does someone has answer for this. please comment |
no, harbor doesn't provide temp access token for robot account. I will make this as a feature request. |
By temporary access token, You mean an access token that would have an expiration time, ensuring that the token is only valid for a certain period of time. |
yes have some expiration time say a min something |
i am trying to docker login by robotacct and its password but it doesn't allow me to login. is that the expected behavior. i want to push/pull the image using docker cli. |
I'm interested to work on this feature. |
yes, the current workaround is pretty much what you suggested. |
You can file the proposal firstly at goharbor/community, and then the maintainers will take effort to review it. |
@wy65701436 Please allow me some time to work on this. It's been more than a year since I last looked into the code, so I need to get familiar with it again before filing the proposal. |
I'm trying to get a temporary access token of robot account for docker login through cli so that i can push or pull image.
my question is :
1> is it possible to get temp access token.
if yes, what is the curl to get that. if there is any example or document i can check at.
FYI, I'm running a harbor container in local.
thank you
The text was updated successfully, but these errors were encountered: