Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

gabrielcorado
Copy link
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
Contributor Author

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

@rosstimothy
Copy link
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
38 of 39 checks passed
@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
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