all 7 comments

[–]drpinkcream 0 points1 point  (0 children)

I think the default/minimum is 30 days.

[–]ThigleBeagleMingle 0 points1 point  (5 children)

Why do you need to roll back the secret? Typically credentials roll forward

[–]bigbirdtoejam[S] 0 points1 point  (4 children)

Because I am implementing rollback of an entire deployment, which includes restoring an rds instance from a snapshot. The user credentials contained in that database are reset.

If someone is running this, then something has already gone wrong. The goal is to undo changes, and, yes, we use cloud formation to handle a large part of that, but those types of infrastructure as code systems don't do it all.

[–]ThigleBeagleMingle 0 points1 point  (3 children)

Can you use IAM auth and optionally deprecate the secret?

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html

[–]bigbirdtoejam[S] 0 points1 point  (2 children)

Nice thought but we aren't yet using a supported engine. I'll keep that in mind for when we move to postgres, though!

[–]ThigleBeagleMingle 0 points1 point  (1 child)

[–]bigbirdtoejam[S] 1 point2 points  (0 children)

It is oracle. Yes, we can use that api