Open
Description
openedon Aug 5, 2024
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.
The /v1/webapi/sites/CLUSTER/resources
web request does not return the awsRoles property in versions >= v15.3.6.
However, running tsh apps login aws
returns the expected roles.
Bug details:
- Teleport version - 16.1.0
- Recreation steps
- Log in to the root cluster
- Make an access request to the AWS app for a specific Teleport role
- Assume the Teleport role from the access requests web view
- On the resources web view, select
Launch
to pick a AWS role assigned to the requested Teleport role - 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