aws-secrets-manager-rotation-lambdas icon indicating copy to clipboard operation
aws-secrets-manager-rotation-lambdas copied to clipboard

Added method to reassign ownership for Postgres multi-user-rotation.

Open FloWi opened this issue 5 years ago • 2 comments

I created an alternative solution to the ownership problem for the multi-user-rotation. The solution provided by @thekevinbrown in issue #39 didn't work in our case.

https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/pull/39#issuecomment-646551901

Issue #, if available: Issue #38 Description of changes: I found an easy way to transfer ownership of all objects created by one user to another and created this PR.

I didn't have a chance to test this yet, since I didn't have time to set up a local environment and I'm not a python developer. So, please keep that in mind and take a closer look at my code :) Do you have a test-environment for your rotation-lambdas?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

FloWi avatar Jun 19 '20 14:06 FloWi

@FloWi Did you find another path to solve this, or are you just using your branch code for the lambda?

This is a needed fix.

@followben and @madsid

xsnrg avatar Nov 17 '20 20:11 xsnrg

@xsnrg I think we discarded this feature for now because of this bug. We're not live yet so no need for password rotation.

FloWi avatar Nov 19 '20 09:11 FloWi