Skip to main content

signed_workload_secrets

Function signed_workload_secrets 

Source
pub fn signed_workload_secrets(
    body: &ReleaseBody,
    workload: &str,
    digest: &str,
    config_inputs: &BTreeMap<String, Value>,
    deployer_values: &HashMap<String, Value>,
) -> Result<Option<String>>
Expand description

The secrets list a protected worker loads at start (WORKLOAD_SECRETS): the signed workload’s secrets names and its deployer secrets, with the release digest as the list’s hash. A controller writes it and the verifier checks what the controller wrote against it, so management never decides which vault keys load. None when the worker loads none.