1 Answer
- Newest
- Most votes
- Most comments
0
Let me suggest a few secure approaches to handle permission set automation in AWS:
Use AWS Organizations Service Control Policies (SCPs):
- Create SCPs that restrict who can modify the Lambda function
- Apply strict IAM permissions on the Lambda role itself
- This provides an additional security layer at the organization level
Use AWS CloudFormation StackSets:
- Create permission sets as Infrastructure as Code
- Deploy across multiple accounts from a delegated administrator account
- Better change control through version control
- Requires approval workflows for changes
Use AWS Control Tower:
- Leverage Account Factory
- Implement customized guardrails
- Maintain compliance through preventive and detective controls
Implement CI/CD Pipeline:
- Store permission set configurations in a source code repository
- Require pull request approvals for changes
- Use AWS CodePipeline/CodeBuild with strict IAM roles
- Implement automated testing before deployment
Best Practice Recommendations:
- Keep the automation code in version control
- Implement approval workflows for changes
- Use separate accounts for development and production
- Maintain audit logs of all changes
- Implement least privilege access
The most secure approach would be combining CloudFormation StackSets with a CI/CD pipeline, as it provides:
- Version control
- Change approval process
- Audit trail
- Separation of duties
- Scalable deployment across accounts
This way, developers can propose changes through pull requests, but can't directly modify production permissions.
answered a year ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
