tsh kube credentials should not open browser when invoked from a kube gui #22494
Labels
bug
c-cr
Internal Customer Reference
kubernetes-access
tsh
tsh - Teleport's command line tool for logging into nodes running Teleport.
Expected behavior:
When using kube access in conjunction with a tool like lens, the GUI will continually attempt to connect to the cluster, even if the user locks the screen. When the tsh session expires, it should not try to pop open the browser, but instead simply fail. When using a Teleport local user, this is the effective behavior. The tsh kube credential command simply fails because the current credential isn't valid, and it can't prompt the user for their password.
Current behavior:
When using a SAML or OIDC connector, lens can invoke tsh kube credentials dozens of times, creating dozenos of browser tabs overnight.
Bug details:
The text was updated successfully, but these errors were encountered: