Skip to content

feature request: add option to update the properties of a token (for example the indexes)  #4

@BenjaminYde

Description

@BenjaminYde

Currently the following commands are available in devpi tokens:

  • token-create Create a token for user.
  • token-delete Delete a token for user.
  • token-derive Derive a new token from an existing token with added restrictions.
  • token-inspect Inspect a given token.
  • token-list List tokens for user.
  • token-login Login using a token.

When creating a token, there is no option to adjust the token.
For example you cannot adjust (add / remove) the indexes of a token.

Currently you need to delete the token and create a new one, but this will create a new token value.
This is very annoying when you share tokens with clients / other people and adjustments need to happen.
It is possible to adjust an index, please add the option to adjust a token as well.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions