Skip to main content

read_password_from_file

Function read_password_from_file 

Source
pub fn read_password_from_file(
    path: &Path,
) -> Result<SecureString, WorkflowError>
Expand description

Reads a password from a file for non-interactive use. A single trailing newline (as left by most editors and echo) is stripped; everything else is taken verbatim.