pub fn edit(
input: &str,
output: &str,
password: &str,
keys: &[String],
) -> Result<(), Box<dyn Error>>Expand description
Interactively edit vault-encrypted values in a JSON or YAML file.
For each encrypted value that matches keys (or all encrypted values when keys is empty),
the current decrypted value is shown and the user is prompted for a replacement.
An empty input keeps the existing encrypted value; q aborts processing.
input: path to the input fileoutput: path to write the result, or"stdout"to print to stdoutpassword: vault passwordkeys: dot-notation key paths to edit; empty means all encrypted values