-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[rds] How to setup SecretsManager name for "masterUser" ? #10586
Comments
Hello @Cloudrage , you do that in the new rds.DatabaseCluster(this, 'Cluster', {
// ...
masterUser: {
username: 'your-username-here',
},
}); Thanks, |
@skinny85 , thanks for your reply, but my question is about the name of the Secrets Generated on our behalf. But I want to set of name like |
@Cloudrage you can pass your own |
Of course, tested and it works. |
You're probably right. We recently made some large changes to this functionality in #7927 . These are not released yet, but I hope this will cover your use case! |
If when adding our own Secrets to the RDS we can use Thanks ! |
I confirm that CDK 1.66.0 do the job with |
|
❓ General Issue
The Question
When creating a new rds.DatabaseCluster, I want to be able to set the name of the Secrets generated for the masterUser.
It's needed by a pipeline to get values from it but if the name is generated auto, I can't easily retrieve values directly (without a describe...).
I've seen that it's possible for additional Users, but for the Master ?
The text was updated successfully, but these errors were encountered: