-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
AWS console access #7590
Merged
Merged
AWS console access #7590
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timothyb89
approved these changes
Jul 21, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small questions
alex-kovoy
reviewed
Jul 21, 2021
ee5a3a8
to
3d24a24
Compare
smallinsky
reviewed
Jul 22, 2021
alex-kovoy
approved these changes
Jul 22, 2021
Merged
3d24a24
to
cee6d73
Compare
smallinsky
approved these changes
Jul 23, 2021
cee6d73
to
dba2cf0
Compare
russjones
approved these changes
Jul 26, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bot.
r0mant
added a commit
that referenced
this pull request
Jul 28, 2021
r0mant
added a commit
that referenced
this pull request
Jul 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support to Teleport for generating auto-sign-in AWS management console URLs using federation API.
This functionality is implemented as a part of app access currently where an AWS console is represented as an application. This is how a user would configure it in their configuration:
In their role definitions, users are able to specify which AWS roles a role can assume, in the form of AWS role resource ARNs:
The UI will display roles matching the account as long as the application configuration has
aws_account_id
label as shown above:After clicking on the appropriate role to assume, Teleport app service will generate a federated login token and redirect the user to the console which will log them in automatically.
Note, a user interacts with AWS console directly - it is not proxied via Teleport like "normal" application access web apps since it would be pretty challenging (if not impossible) and very fragile to try and proxy all AWS console requests through Teleport. The federated session is marked with Teleport's user name so it can be easily queried in CloudWatch. In future, we will import CloudWatch events to Teleport's audit log.
The UX of this feature has been approved by @klizhentas. Docs PR: #7640.
Closes #7027.