Closed jaythamke closed 3 years ago
Any updates
I think #185 tries to address this?
I think #185 tries to address this?
Thanks @mat007 for pointing out! Yes, I expected the same feature.
Closing this issue as the feature - https://github.com/docker/hub-tool/pull/185 is in-progress.
Description
hub-tool
.inspect
sub-command, it does not return token scope information even the scope is configured through Docker Hub's web UI.I tried with Docker Hub API - Get
/v2/access-tokens
and I could get following response -The token created by
hub-tool
does not havescopes
slice and another token has it.Host: "https://hub.docker.com" GET v2/access-tokens/
Steps to reproduce the issue:
Create token using
hub-tool
-hub-tool token create --description "<useful description>"
On successful token creation verify the token in docker-hub web UI -
Create token via web UI and you can configure the token scope, see another token in above image.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
hub-tool --version
:hub-tool tag and commit info:
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):