Skip to main content

encrypt_config

Function encrypt_config 

Source
pub(crate) fn encrypt_config(
    in_file: PathBuf,
    out_file: PathBuf,
    salt_file: Option<PathBuf>,
    password: &str,
) -> Result<CliOutput, CliError>
Expand description

Encrypt a configuration using the salt next to the output unless overridden.