gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
16.99k stars 1.71k forks source link

List possible values of `tctl get` #41673

Open ptgott opened 1 month ago

ptgott commented 1 month ago

Applies To

Probably https://goteleport.com/docs/reference/cli/tctl/#tctl-get

Details

Let's list all names for resources available to retrieve using tctl get. This is not currently documented.

How will we know this is resolved?

A user can know all possible values of tctl get without looking at the source.

Related Issues

zmb3 commented 1 month ago

https://github.com/gravitational/teleport/blob/master/tool/tctl/common/resource_command.go#L1899-L2790

ptgott commented 1 month ago

While we're addressing this one, we should show all of the tctl get calls you can use to retrieve resources in the Backup and Restore guide as an alternative to tctl get all, which fails unless the user runs it on an Auth Service host (https://github.com/gravitational/teleport/issues/25052).