Open Gerschtli opened 2 years ago
"Smartly" detecting which secrets should be updated is not something I want to (attempt to) support.
Is for secret in system-a/**; do agenix -r "$secret"; done
not a good solution for you? I'm hesitant to allow working with multiple paths (and by extension, rekeying them) because agenix
only supports working on one path at a time at the moment.
I am fine with the for loop, just thought it would be a good improvement for the CLI to be more user friendly and flexible.
Hey,
I will shortly explain a use case: I have two systems, each of them has two secrets. If I change the key for system A, I want to run rekey and only update the secrets that are affected by the change of the key of system A. Currently, all four secrets will be updated.
agenix -r secrets/a secrets/b
)