(secretsmanager/rds): addReplicaRegion on Secret created by fromGeneratedSecret #16480
Closed
2 tasks
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
@aws-cdk/aws-secretsmanager
Related to AWS Secrets Manager
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
The ISecret interface that is produced by the RDS
fromGeneratedSecret
method does not implementaddReplicaRegion
.Use Case
DB credentials should always be replicated across regions along with DB snapshots to aid in DR/BC. When creating a new RDS cluster, the auto-generated credentials should be replicated across multiple regions.
Proposed Solution
Either
fromGeneratedSecret
should allow you to access a fullSecret
object, oraddReplicaRegion
should be added toISecret
, in a similar way toaddRotationSchedule
Other
I tagged both secretsmanager and rds as I'm not sure which side needs to implement this :)
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: