You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot configure the token scope (read, write , ... etc) while creating new token using hub-tool.
When the token metadata is fetched using inspect sub-command, it does not return token scope information even the scope is configured through Docker Hub's web UI.
The text was updated successfully, but these errors were encountered:
jaythamke
changed the title
Cannot configure a scope of personal access token during creation
Cannot configure a scopes of personal access token during creation
Oct 13, 2021
jaythamke
changed the title
Cannot configure a scopes of personal access token during creation
Cannot configure a scopes for new personal access token
Oct 13, 2021
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.):
The text was updated successfully, but these errors were encountered: