Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS::RDS::DBCluster Password management with Amazon Aurora and AWS Secrets Manager #29239

Open
2 tasks
csotomon opened this issue Feb 23, 2024 · 4 comments · May be fixed by #30997
Open
2 tasks

AWS::RDS::DBCluster Password management with Amazon Aurora and AWS Secrets Manager #29239

csotomon opened this issue Feb 23, 2024 · 4 comments · May be fixed by #30997
Labels
@aws-cdk/aws-rds Related to Amazon Relational Database effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3

Comments

@csotomon
Copy link

Describe the feature

Amazon Aurora integrates with Secrets Manager to manage master user passwords for your DB clusters.

This feature is implemented on the aws_cdk.aws_rds.CfnDBCluster construct but not on the aws_cdk.aws_rds.DatabaseCluster construct.

At the moment unique way to activated is running a
cluster.node.default_child.add_override('Properties.ManageMasterUserPassword', True) instruction.

Use Case

I need to activate the password management for an aurora Serverless V2 database using secret manager.

Proposed Solution

add this parameter in the aws_cdk.aws_rds.DatabaseCluster class constructor.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.129.0

Environment details (OS name and version, etc.)

linux ubuntu

@csotomon csotomon added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 23, 2024
@github-actions github-actions bot added the @aws-cdk/aws-rds Related to Amazon Relational Database label Feb 23, 2024
@juinquok
Copy link
Contributor

We've got a use case for this too, happy to help implement this if its okay with the team

@pahud
Copy link
Contributor

pahud commented Feb 26, 2024

Yes I think we could expose that to the L2 props. Any pull requests are welcome and appreciated.

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Feb 26, 2024
@pahud pahud added p3 and removed p2 labels Jun 11, 2024
@epoctic
Copy link

epoctic commented Jul 31, 2024

I have a branch where I've implemented this feature, but I'm not really sure how to move forward with creating a reasonable integration test for it.

@epoctic
Copy link

epoctic commented Aug 1, 2024

@pahud Sorry about the long wait, but I was finally able to get a PR up! #30997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-rds Related to Amazon Relational Database effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3
Projects
None yet
4 participants