lucasb/BakerCM

Update update secrets when change secretkey

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
When is necessary to update a Secret Key, we need to update all the secrets in a recipe manually.

Describe the solution you'd like
Create a command in CLI to update a secret key and update secrets values in local recipes automatically.
e.g.: $ baker secret genkey --update --with-secrets <curr-keypass> <new-keypass>

Describe alternatives you've considered
n/a

Additional context
It's is important to maintain secret values, mainly when you have many recipes and secrets.
Current keypass is necessary to decrypt values and new keypass to encrypt.