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

CLI: allow nomad acl token update to move a token from client to management #20468

Open
philrenaud opened this issue Apr 22, 2024 · 0 comments
Open
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/bug

Comments

@philrenaud
Copy link
Contributor

Currently the reason this isn't possible is less "it's not allowed" as much as it is "Management tokens cannot have any policies, as a prerequisite, and client tokens must have at least one policy, as a prerequisite, and you cannot bring the number of policies on a client token down to 0"

So, we (could/should) handle something like nomad acl token update -type=management <accessor> by:

  1. Just removing any policies (and roles) on that token and saying "okay it's a management token now", or
  2. Mandating but allowing the removal of policies/roles at conversion-to-management time with nomad acl token update -type=management -policy="" or something similar
@jrasell jrasell added this to Needs Triage in Nomad - Community Issues Triage via automation Apr 23, 2024
@jrasell jrasell added the stage/accepted Confirmed, and intend to work on. No timeline committment though. label May 7, 2024
@jrasell jrasell moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/bug
Projects
Development

No branches or pull requests

2 participants