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

List token capabilities using token accessor with the CLI #24478

Closed
mattias-fjellstrom opened this issue Dec 11, 2023 · 0 comments · Fixed by #24479
Closed

List token capabilities using token accessor with the CLI #24478

mattias-fjellstrom opened this issue Dec 11, 2023 · 0 comments · Fixed by #24479

Comments

@mattias-fjellstrom
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently there is no support to list the capabilities for a token using its accessor with the CLI. This requires you to use the actual token value.

Describe the solution you'd like
I want to be able to run vault token capabilities -accessor <accessor value> /the/path to see the capabilities on the path /the/path for the token with accessor <accessor value>.

Describe alternatives you've considered
There is an API-endpoint for this, so using the API directly is an alternative.

Explain any additional use-cases
N/A

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant