aws / aws/aws-cdk

(rds): Permission Boundary Aspect with Secret Rotation

Open
#19,649 14 comments 4 reactions 0 assignees View on GitHub
@aws-cdk/aws-rds effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Description

Using RDS Secrets Rotation will create a SAM Stack which does not apply IAM Permission Boundaries via Aspects because they are in a Nested Stack.

### Use Case

Our Cloudformation Role can only create IAM Roles with attached Permission Boundaries, which we roll out via Aspects.

### Proposed Solution

Use a different approach for the Secrets Rotation Lambda which does not rely on SAM.

### Other information

_No response_

### Acknowledge

- [ ] I may be able to implement this feature request
- [X] This feature might incur a breaking change

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Begin by tracing the RDS Secrets Rotation SAM nested stack and its IAM roles, then compare that path with CDK Aspect permission-boundary behavior; done means the rotation Lambda path satisfies the stated boundary requirement without the current SAM dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.