pub(crate) fn get_secret_payload( credential: Value, with_options: WithOptions, ) -> Result<Vec<u8>, RwError>