fn get_attribute<'a>( attributes: &'a HashMap<String, String>, key: &'static str, ) -> Result<&'a String, LinuxSecretFieldError>
Get the attribute with the given key in the given map.