Skip to main content

resolve_encryption_password

Function resolve_encryption_password 

Source
pub fn resolve_encryption_password(
    password_file: Option<&Path>,
    security_profile: &SecurityProfile,
) -> WorkflowResult<SecureString>
Expand description

Password for encryption: read from password_file when given (strength requirements still apply, but no confirmation is needed since there is no typo risk), otherwise prompt interactively with confirmation.