Skip to content

[v16] Update AWS roles ARNs displayed on tsh app login for AWS console apps#46806

Merged
gabrielcorado merged 2 commits intobranch/v16from
gabrielcorado/v16/tsh-app-login-leaf-logins
Oct 1, 2024
Merged

[v16] Update AWS roles ARNs displayed on tsh app login for AWS console apps#46806
gabrielcorado merged 2 commits intobranch/v16from
gabrielcorado/v16/tsh-app-login-leaf-logins

Conversation

@gabrielcorado
Copy link
Copy Markdown
Contributor

Backport #44983 to branch/v16

changelog: Correctly display available allowed logins of leaf AWS Console Apps on tsh app login.

…ps (#44983)

* feat(tsh): list aws console logins from server

* chore(services): remove unified resources change

This is being covered on another PR.

* test(tsh): solve TestAzure flakiness by waiting using app servers are ready

* fix(tsh): apps with logins were fallingback into using aws arns

* refactor(client): use GetEnrichedResources

* chore(client): rename function

* refactor(tsh): directly resource lisiting for apps and reuse cluster client

* chore(client): reset client changes

* refactor(tsh): reuse cluster client for fetching allowed logins

* chore(tsh): remove unused function param

* refactor(tsh): update getApp retry with login

* refactor(tsh): use a single function to grab profile and cluste client

* refactor(tsh): perform retry with login at caller site

* fix(tsh): close auth client

* test(tsh): fix test failing due to login misconfiguration

* test(tsh): fix lint errors

* test(tsh): remove unused imports
@github-actions github-actions Bot added size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Sep 20, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from greedy52 September 30, 2024 18:36
@gabrielcorado
Copy link
Copy Markdown
Contributor Author

@rosstimothy Can we exclude the flaky detector? Same motivation as the original PR.

@rosstimothy
Copy link
Copy Markdown
Contributor

FTD is not a required check on backports 😃

@gabrielcorado gabrielcorado added this pull request to the merge queue Oct 1, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 1, 2024
@gabrielcorado gabrielcorado added this pull request to the merge queue Oct 1, 2024
Merged via the queue into branch/v16 with commit daca4a7 Oct 1, 2024
@gabrielcorado gabrielcorado deleted the gabrielcorado/v16/tsh-app-login-leaf-logins branch October 1, 2024 15:01
@camscale camscale mentioned this pull request Oct 16, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/md 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