-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(secretsmanager/rds): addReplicaRegion on Secret created by fromGeneratedSecret #16480
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-rdsRelated to Amazon Relational DatabaseRelated to Amazon Relational Database@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets Managerfeature-requestA feature should be added or improved.A feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Description
The ISecret interface that is produced by the RDS fromGeneratedSecret method does not implement addReplicaRegion.
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 full Secret object, or addReplicaRegion should be added to ISecret, in a similar way to addRotationSchedule
Other
I tagged both secretsmanager and rds as I'm not sure which side needs to implement this :)
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Labels
@aws-cdk/aws-rdsRelated to Amazon Relational DatabaseRelated to Amazon Relational Database@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets Managerfeature-requestA feature should be added or improved.A feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.