pub fn set_private_key(key_name: String, pem_string: String) -> Result<()>