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