nixops-aws
nixops-aws copied to clipboard
[feature] Manage RDS passwords
All password operations could be managed through NixOps. A nice workflow can be achieved with the following behaviors.
- Leaving out the
masterPasswordcauses it to be generated and stored in the state. resources.rdsDbInstances.*.masterPasswordreturns the password from the state. This can be used indeployment.keysfor 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.