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

feat(iam): session tagging #17689

Merged
merged 11 commits into from
Dec 16, 2021
Merged

feat(iam): session tagging #17689

merged 11 commits into from
Dec 16, 2021

Commits on Nov 24, 2021

  1. 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.
    rix0rrr committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    742538e View commit details
    Browse the repository at this point in the history
  2. Update README.md

    rix0rrr committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    79e1290 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Fix test

    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    1837d34 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'huijbers/federated-tagging' of github.com:aws/aws-cdk i…

    …nto huijbers/federated-tagging
    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    d7a237b View commit details
    Browse the repository at this point in the history
  3. Update snapshot

    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    ab3cc68 View commit details
    Browse the repository at this point in the history
  4. Fix type checks in AWS Lambda

    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    251f5b9 View commit details
    Browse the repository at this point in the history
  5. Update snapshot

    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    807e751 View commit details
    Browse the repository at this point in the history
  6. CDK Pipelines

    rix0rrr committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    9217aec View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    fd1cd44 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    73e2806 View commit details
    Browse the repository at this point in the history
  2. Update snapshots

    rix0rrr committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    88c56c6 View commit details
    Browse the repository at this point in the history