Skip to main content

run_with_secrets

Function run_with_secrets 

Source
async fn run_with_secrets(
    arguments: &Value,
    command: &str,
    cx: &ToolCtx<'_>,
) -> Result<Value>
Expand description

run with secrets, not in the background: starts the job (srv asks the person first), waits for it to end, and returns its output as srv cleaned it of the Vault values, with its exit code. A job that outlasts timeout_ms keeps running as a background job.