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

tctl: add a --with-secrets flag to tctl tokens ls #47356

Merged
merged 1 commit into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. tctl: add a --with-secrets flag to tctl tokens ls

    Show the "safe name" for tokens by default, which is the name of
    the token for non-sensitive join tokens, and a redacted version
    of the name for shared secret tokens.
    
    Note: for --format=json or --format=yaml we currently maintain
    the original behavior (always show the raw token contents).
    The tctl get tokens command has also not been touched - it
    continues to return the raw token resource from the backend.
    
    Updates #47254
    zmb3 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    436b062 View commit details
    Browse the repository at this point in the history