Skip to content

"tctl tokens ls" could use a --labels flag #46388

Open

Description

What would you like Teleport to do?
It would be nice to add a --labels flag to tctl tokens ls

What problem does this solve?
Customers that handle large numbers of K8s JWKS tokens would benefit from a native way of filtering tokens instead of relying on utilities like jq

If a workaround exists, please include it.

tctl tokens ls --format json | jq '.[] | select( .metadata.labels.my_label_key =="my_label_value"  )'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    c-nbsInternal Customer Referencefeature-requestUsed for new features in Teleport, improvements to current should be #enhancementstctltctl - Teleport admin tool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions