Skip to main content

apply_injected

Function apply_injected 

Source
fn apply_injected(
    injected: Option<Injected>,
    env: &mut HashMap<String, String>,
    went_ahead: &mut Vec<String>,
) -> Result<SecretRuntime, Response>
Expand description

Puts the injected Vault values into env (after the caller’s, so the agent can’t name a value of its own over one) and their private files in a folder of their own, removed when the runner ends (or at the next start).