Skip to content

AWS roles not visible in the UI after assuming a Teleport role #45050

Open

Description

Expected behavior:
I expect that, after assuming a Teleport role using access request, the AWS roles that I now have access to are displayed in the web UI's roles dropdown, similarly to the CLI experience.

Current behavior:
After assuming a Teleport role using access request, the AWS roles that I now have access to are not displayed in the UI's roles dropdown but these are visible from the CLI.
This is the PR that introduced this behavior as part of 15.3.6. Confirmed that a previous v15 version doesn't have this issue.

image

The /v1/webapi/sites/CLUSTER/resources web request does not return the awsRoles property in versions >= v15.3.6.
image

However, running tsh apps login aws returns the expected roles.

Bug details:

  • Teleport version - 16.1.0
  • Recreation steps
  1. Log in to the root cluster
  2. Make an access request to the AWS app for a specific Teleport role
  3. Assume the Teleport role from the access requests web view
  4. On the resources web view, select Launch to pick a AWS role assigned to the requested Teleport role
  5. Dropdown is empty
  • Debug logs - see above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions