Draft: Added support for the different SecretFormat within the Vault
6 unresolved threads
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 121
− 21
@@ -12,8 +13,18 @@ pub enum Subcommand {
@@ -62,11 +73,14 @@ pub fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError>
@@ -74,34 +88,120 @@ pub fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError>
Having the format inside the file would prevent from having to pass the format here as an argument. And note that "address" is a string, so you could simply wrap this function by giving
format!("{}-{}", address, format_str)
as an argument toget_vault_key_path
function, allowing to use the same function if the filename is something likealice.json
or so.changed this line in version 2 of the diff