(aws-docdb): password rotation should work
See original GitHub issueWhat is the problem?
aws_docdb.DatabaseCluster.addRotationSingleUser()
secret rotator fails
Reproduction Steps
const cluster = new aws_docdb.DatabaseCluster(this, 'Database', { ... });
cluster.addRotationSingleUser();
Go to SecretsManager, find the associated secret and click the “Rotate secret immediately”. Note error message with “A previous rotation isn’t complete.”
What did you expect to happen?
Secret rotation should succeed.
What actually happened?
Fail to rotate the secret “… secret name …”
CDK CLI Version
2.0.0-rc.24
Framework Version
2.0.0-rc.24
Node.js Version
v14.17.5
OS
MacOS
Language
Typescript
Language Version
4.4.3
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to rotate Amazon DocumentDB and Amazon Redshift ...
Secrets Manager natively supports rotating secrets for all Amazon database ... and Amazon Redshift — that require a user name and password.
Read more >Password rotation on AWS DocumentDB - Stack Overflow
When setting up a new DocumentDB cluster (using CF templates), it requires a master username and password. What would be the best approach...
Read more >Rotating the password in AWS Secrets Manager
You can configure Secrets Manager to automatically rotate the secret (password) for your Amazon DocumentDB cluster. When automatic rotation is selected, ...
Read more >Amazon DocumentDB and AWS Secrets Manager Integration
In this video, you will learn how to leverage AWS secrets manager to store and rotate credentials for Amazon DocumentDB.
Read more >Create an Amazon Secrets Manager secret with automatic ...
This example creates a secret and an Amazon DocumentDB instance using the credentials in the ... The template also creates a Lambda rotation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ahammond can you share your CDK code?
I wonder if this is similar to https://github.com/aws/aws-cdk/issues/17265 for RDS.
Yes it looks like it (sorry for the late reply).