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

Fine grained permission/scopes on personal access token #115

Closed
manishtomar opened this issue Jun 15, 2020 · 9 comments
Closed

Fine grained permission/scopes on personal access token #115

manishtomar opened this issue Jun 15, 2020 · 9 comments
Labels
community_new New idea raised by a community contributor docker_hub Improvements or additions to Docker Hub

Comments

@manishtomar
Copy link

manishtomar commented Jun 15, 2020

Tell us about your request
Add fine grained permission/scopes to personal access token to allow accessing non-registry APIs similar to how Github provides. This is an extension of Official REST API feature and requires that to be supported first.

Which service(s) is this request for?
Docker Hub

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I cannot automate many tasks in Hub. For example, after enabling 2FA If I am not using autobuilds I cannot update the repository's readme to VCS's readme.

Are you currently working around the issue?
Disabling 2FA and reverse engineering existing APIs from browser.

Additional context
docker/hub-feedback#2006
docker/hub-feedback#1927

@manishtomar manishtomar added the community_new New idea raised by a community contributor label Jun 15, 2020
juampe added a commit to juampe/docker-pi-hole-dot that referenced this issue Aug 25, 2020
@nebuk89 nebuk89 added the docker_hub Improvements or additions to Docker Hub label Jan 28, 2021
@nebuk89 nebuk89 added this to We're Writing The Code in docker-roadmap Jan 28, 2021
@nebuk89 nebuk89 moved this from We're Writing The Code to Almost There in docker-roadmap Feb 3, 2021
@nebuk89 nebuk89 moved this from Almost There to We're Writing The Code in docker-roadmap Feb 11, 2021
ghost pushed a commit to provenance-io/explorer-service that referenced this issue Apr 8, 2021
* Is not currently viable with our auth setup on dockerhub.
* See: docker/roadmap#115
@abitrolly
Copy link

I would be happy with just specific token for updating the image description. Just a single hardcoded function, without scope management.

@demyxco
Copy link

demyxco commented Jun 17, 2021

Hi guys, been following this for a while but is there any word on this?

@nebuk89
Copy link
Contributor

nebuk89 commented Jul 2, 2021

@demyxco launch will be in the next 2 weeks 🎉 keep an eye on this ticket :D

CodexLink referenced this issue in CodexLink/discord-activity-badge Jul 7, 2021
@nebuk89 nebuk89 moved this from Almost There to Shipped! Enjoy! in docker-roadmap Jul 20, 2021
@nebuk89 nebuk89 closed this as completed Jul 30, 2021
@demyxco
Copy link

demyxco commented Jul 30, 2021

@nebuk89 so will there be documentations on how this work? Or just have 2FA enabled and use access tokens like normal?

@reconman
Copy link

There's this blog post about it, but it seems like it's only intended for paid users: https://www.docker.com/blog/level-up-security-with-scoped-access-tokens/

@modem7
Copy link

modem7 commented Aug 3, 2021

There's this blog post about it, but it seems like it's only intended for paid users: https://www.docker.com/blog/level-up-security-with-scoped-access-tokens/

@nebuk89, even with read, write, delete scope it doesn't allow updating readmes or descriptions unfortunately, so I wouldn't consider this issue closed yet.

https://drone.modem7.com/modem7/Dnscrypt-Proxy/14/1/3

image

@eitsupi
Copy link

eitsupi commented Dec 10, 2021

Any update?

@modem7
Copy link

modem7 commented Dec 10, 2021

Any update?

Best comment on docker/hub-tool#172 as this is for some reason closed. Even though it didn't resolve the original problem at all.

@christian-korneck
Copy link

same for me, I tried but it didn't seem to work. Not even with a paid Docker account. Does this work for anyone here? If so, I'd appreciate a pointer into the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_new New idea raised by a community contributor docker_hub Improvements or additions to Docker Hub
Projects
docker-roadmap
  
Shipped! Enjoy!
Development

No branches or pull requests

8 participants