Skip to main content

pull_env_values

Function pull_env_values 

Source
pub async fn pull_env_values<R: CommandRunner>(
    stripe: &StripeProjects<R>,
    instance: &str,
    keys: &[&str],
) -> Result<Vec<Option<String>>, ProjectsError>
Expand description

Pull the instance’s env once and read several keys from it, returning one Option<String> per key in input order. Values are read from on-disk vault files after env --pull — the plugin still redacts values in JSON at 0.23.0.