question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(rds): additional single-user secret rotation

See original GitHub issue

As a user, I want to add additional single-user secret rotation to RDS instance.

Use Case

We have an RDS instance in which we created a administrator user. We need to add a secret rotation to it, and since we’re using it only during the application startup, it doesn’t need to rotate in multi-user manner (please note that we can’t use multi-user rotation for this secret). If I understand it correctly, addRotationSingleUser adds a rotation to only the master secret of the DB instance. It would be nice to use the method to add single-user rotation for additional secrets.

Proposed Solution

instance.addRotationSingleUser("AddtionalSigleUserRotation", {
  secret: someSecret // Is it possible to add this to RotationSingleUserOptions similar to RotationMultiUserOptions?
});

Other

My understand is that if we refactor addRotationSingleUser to check if secret in the given options is null, then it’s a rotation for the master secret, otherwise it’s a new one. I took a quick look at the implementation and I think it’s possible to do so.

  • 👋 I may be able to implement this feature request

This is a 🚀 Feature Request

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
akefiradcommented, Mar 26, 2021

Oops, sorry, there it is #13799.

0reactions
github-actions[bot]commented, Jun 22, 2022

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-user secrets rotation for Amazon RDS - AWS
This strategy involves applications connecting to the database by alternating between two sets of users to prevent application downtime while ...
Read more >
Set up single user rotation for Amazon Secrets Manager
Single user rotation is a rotation strategy where Secrets Manager updates a single user's credentials in both the secret and the database. For...
Read more >
Auto Rotate RDS Database Credentials with AWS Secrets ...
Rotation : It is the process of periodically updating a secret to make it more difficult for an attacker to access the credentials....
Read more >
Rotate Amazon RDS Database Credentials Automatically ...
It also helps with custom rotation requirements by creating an AWS Lambda function to rotate other types of secrets. Eg:- AWS Lambda function ......
Read more >
Achieving RDS password rotation with Secrets Manager
In addition to that, you want it to be changed, or “rotated”, ... The one that will be used here is the RDS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found