-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(iam): session tagging #17689
Merged
Merged
feat(iam): session tagging #17689
Commits on Nov 24, 2021
-
feat(iam): enable session tagging
To allow session tagging, the `sts:TagSession` permission needs to be added to the role's AssumeRolePolicyDocument. Introduce a new principal which enables this, and add a convenience method `.withSessionTags()` to the `PrincipalBase` class so all built-in principals will have this convenience method by default. To build this, we had to get rid of some cruft and assumptions around policy documents and statements, and defer more power to the `IPrincipal` objects themselves. In order not to break existing implementors, introduce a new interface `IAssumeRolePrincipal` which knows how to add itself to an AssumeRolePolicyDocument and gets complete freedom doing so. That same new interface could be used to lift some old limitations on `CompositePrincipal` so did that as well. Fixes #15908, closes #16725, fixes #2041, fixes #1578.
Configuration menu - View commit details
-
Copy full SHA for 742538e - Browse repository at this point
Copy the full SHA 742538eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79e1290 - Browse repository at this point
Copy the full SHA 79e1290View commit details
Commits on Nov 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1837d34 - Browse repository at this point
Copy the full SHA 1837d34View commit details -
Merge branch 'huijbers/federated-tagging' of github.com:aws/aws-cdk i…
…nto huijbers/federated-tagging
Configuration menu - View commit details
-
Copy full SHA for d7a237b - Browse repository at this point
Copy the full SHA d7a237bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab3cc68 - Browse repository at this point
Copy the full SHA ab3cc68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 251f5b9 - Browse repository at this point
Copy the full SHA 251f5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 807e751 - Browse repository at this point
Copy the full SHA 807e751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9217aec - Browse repository at this point
Copy the full SHA 9217aecView commit details
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fd1cd44 - Browse repository at this point
Copy the full SHA fd1cd44View commit details
Commits on Dec 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 73e2806 - Browse repository at this point
Copy the full SHA 73e2806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88c56c6 - Browse repository at this point
Copy the full SHA 88c56c6View commit details
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.