pub fn read_credential(from_stdin: bool) -> Result<String>
Read the credential without it touching argv or shell history: from stdin when asked, else from a hidden prompt.