This pull request creates a new resource FederatedRolePermissionsBoundary in LZConfig/templates/aws_baseline/aws-landing-zone-default-azure-roles.template
FederatedRolePermissionsBoundary is an IAM Policy that gets applied as a Permissions Boundary to all existing federated roles.
This policy has several statements:
AllowAll
-- Allows all actions by default
DenyWriteToRoleWithoutBoundaryPolicy
-- Denies the ability to write to any roles without this boundary policy attached
DenyWriteToThisPolicy
-- Denies the ability to modify this policy
DenyDeletePermissionsBoundary
-- Denies the ability to delete any permissions boundary policies
DenyWriteToUser
-- Denies the ability to create or modify users
For information on the nature of permissions boundaries, please visit here:
https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
For information on the evaluation logic of policies and how permissions boundaries fit in, please visit here:
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html