pub fn encrypt_vault_from_file<P: AsRef<Path>>(
path: P,
key: &str,
) -> Result<String, VaultError>Expand description
Encrypt a file to an ansible_vault string
A wrapper for encrypt_vault method.
ยงArguments:
path: the path to the file to encryptkey: the key to encrypt the file