Skip to content

Fine grained permission/scopes on personal access token #115

Closed

Description

@manishtomar

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

Activity

  1. added
    community_new
    on Jun 15, 2020
  2. added
    docker_hub
    on Jan 28, 2021
  3. ghost added a commit that references this issue on Apr 8, 2021
  4. abitrolly commented on Apr 10, 2021

    @abitrolly

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

  5. demyxco commented on Jun 17, 2021

    @demyxco

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

  6. nebuk89 commented on Jul 2, 2021

    @nebuk89
    Contributor

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

  7. demyxco commented on Jul 30, 2021

    @demyxco

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

  8. reconman commented on Jul 30, 2021

    @reconman
  9. modem7 commented on Aug 3, 2021

    @modem7

    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

  10. eitsupi commented on Dec 10, 2021

    @eitsupi

    Any update?

  11. modem7 commented on Dec 10, 2021

    @modem7

    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.

  12. christian-korneck commented on Jun 11, 2022

    @christian-korneck

    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.

  13. moved this to Shipped! Enjoy! in docker-roadmapon May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    community_newdocker_hub

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions