[feature] Manage RDS passwords
roberth opened this issue · 0 comments
roberth commented
All password operations could be managed through NixOps. A nice workflow can be achieved with the following behaviors.
- Leaving out the
masterPassword
causes it to be generated and stored in the state. resources.rdsDbInstances.*.masterPassword
returns the password from the state. This can be used indeployment.keys
for example.- A nixops subcommand can reset the master password and updates the state file accordingly.
The first two remove the need to store the password in an extra location. The last one makes it possible to update the password without breaking subsequent deployments.