Commit Graph
7 Commits
Author SHA1 Message Date
Tobiasz Heller 2ae11882cf Add info to login command about passwordless (#15371) 2022-08-16 10:49:40 +02:00
Edward Dowling be1438aecd tsh: tctl: Add basic recordings ls functionality (#12763) 2022-08-09 11:22:14 +00:00
Andrew Burke 5a2f977d54 --set-logins flag for tctl users update + missing principals error (#14063)
This change:

- adds the --set-logins flag to tctl users update, similar to --set-roles
 - adds a hint to tsh ls about missing principals when no nodes are found

Part of https://github.com/gravitational/teleport/issues/13783.
2022-07-07 22:35:12 +00:00
Andrew Burke 7c81fc9d98 Add JSON and YAML to several tsh commands (#11681)
This PR adds support for JSON and YAML output to several tsh commands via the --format flag.
2022-04-18 21:40:28 +00:00
Russell Jones b64555a8d0 Remove Teleport related entries from kubeconfig upon "tsh logout". 2018-11-29 13:48:24 -08:00
Sasha Klizhentas e570b24eeb Update tsh login to select clusters.
The following changes have been introduced
to tsh login behavior:

1. tsh login now accepts cluster name
as an optional positional argument:

$ tsh login clustername

2. If tsh login is called without arguments
and the current credentials are valid,
tsh login now prints status, previous behavior
always forced login:

$ tsh login
... print status if logged in...

2. If tsh login is called with the proxy
equal to current, tsh login selects cluster,
otherwise it will re-login to another proxy:

$ tsh login one
... selected cluster one

$ tsh login two
... selected cluster two

$ tsh login --proxy=example.com three
... selected cluster three because
proxy is the same

$ tsh login --proxy=acme.example.com four
...will switch to proxy acme.example.com
and cluster four
2018-06-25 18:28:46 -07:00
Ev Kontsevoy 4afee60d9b Updated the documentation to reflect port parameters in tsh login
Closes #1757
2018-04-12 22:01:00 -07:00