-
Notifications
You must be signed in to change notification settings - Fork 6
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
Docs suggestion: document how to rotate a RandomPassword
#234
Comments
Hey, can we can a quick but official comment on the best way to rotate password? A quick comment on this PR would help me (and others) while the updating of the documentation can be done in due time. Thanks in advance. |
Here's a method which doesn't require you to destroy all downstream resources:
This method is useful for resources that take along time to re-create such as DNS validations and SSL certificates. I'd kindly ask @t0yv0 and the team to provide an automated solution for this scenario. |
I have not tested this myself but isn't this what the keepers option for? The other option is to create a new |
It would be really nice to have an answer to this. I would even say it would be nice to have |
I spent yesterday looking into the Keepers option and it is not very well documented, would it be possible to have some explanation on how best to use it? |
https://www.pulumi.com/registry/packages/time/api-docs/rotating/ might also be relevant. |
I think the problem is that if I use RandomPassword as the input to DatabaseUser (fictitious, but there's many things like this) which then goes into a k8s Secret what I want to happen is:
I'm not sure that's what would happen in practice. I'll have to try to confirm. |
Hello!
Issue details
A co-worker just asked me how we can rotate the value of a
RandomPassword
resource, after the value was accidentally logged in plaintext.I’m pretty sure I need to use
pulumi destroy
with--target
to destroy the resource and then runpulumi up
to recreate it, but only about 90% sure.Regardless, even if I was 100% sure, there are probably other folks out there who could use some guidance on this. And also when questions come up, I always like it when I can share a URL to some canonical documentation so that people can learn, and can have confidence in a process or procedure.
Affected area/feature
This provider’s docs.
The text was updated successfully, but these errors were encountered: