Skip to content

[v17] Reorganize tctl commands to not require an auth client by default#50966

Merged
vapopov merged 1 commit intobranch/v17from
vapopov/auth-client-lazy-loading-v17
Jan 15, 2025
Merged

[v17] Reorganize tctl commands to not require an auth client by default#50966
vapopov merged 1 commit intobranch/v17from
vapopov/auth-client-lazy-loading-v17

Conversation

@vapopov
Copy link
Copy Markdown
Contributor

@vapopov vapopov commented Jan 10, 2025

Backport #48894 to branch/v17

…8894)

* Reorganize tctl commands to have commands not required auth client

* Replace auth client with lazy loading approach

* Fix linter warning

* Replace camel case in import alias
Replace logrus to use slog

* Rename close function

* Refactor plugin commands to use interface of auth client and plugin client
Code review changes

* Refactor workload identity commands

* Add access to global config for the commands

* Add test checking all tctl commands match process

* Fix golangci-lint warnings
@vapopov vapopov added backport no-changelog Indicates that a PR does not require a changelog entry labels Jan 10, 2025
@github-actions github-actions Bot added size/md tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 10, 2025
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
@vapopov vapopov removed this pull request from the merge queue due to a manual request Jan 15, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Jan 15, 2025
…8894) (#50966)

* Reorganize tctl commands to have commands not required auth client

* Replace auth client with lazy loading approach

* Fix linter warning

* Replace camel case in import alias
Replace logrus to use slog

* Rename close function

* Refactor plugin commands to use interface of auth client and plugin client
Code review changes

* Refactor workload identity commands

* Add access to global config for the commands

* Add test checking all tctl commands match process

* Fix golangci-lint warnings
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 15, 2025
@vapopov vapopov added this pull request to the merge queue Jan 15, 2025
Merged via the queue into branch/v17 with commit 00b3f72 Jan 15, 2025
@vapopov vapopov deleted the vapopov/auth-client-lazy-loading-v17 branch January 15, 2025 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/md tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants