Open smallinsky opened 1 year ago
Also, related to https://github.com/gravitational/teleport/issues/25141
In terms of tctl get all
, would it make sense to recommend instead:
tctl
itself using a directory of manifests, as recommended in the "Our recommended backup practice" section of the guide)
Applies To
https://goteleport.com/docs/management/operations/backup-restore/#example-of-backing-up-and-restoring-a-cluster
Details
Our docs says that
tctl get all --with-secrets
can be triggered by teleport user :tsh login --proxy=teleport.example.com --user=myuser
Where actually
tctl get all
can be only executed on Teleport Auth instance that has BuildIn Admin user: issues/8539Additionally
tctl get all
andtctl get all --with-secrets
overwrites withSecret flag to true:So all following commands are equal:
tctl get all
==
tctl get all --no-with-secrets
==
tctl get all --with-secrets
https://github.com/gravitational/teleport/blob/c0c04c50e45b214cadfecc75b2f951b2fba822af/tool/tctl/common/resource_command.go#L257