Skip to main content

machine_secrets_installed

Function machine_secrets_installed 

Source
pub fn machine_secrets_installed(state: &StackState) -> bool
Expand description

Whether an installed AWS stack already has the machine workload grant on one of its recorded service accounts. Having the secrets vault is not enough: a worker gives an install the vault without the grant. Adding the grant to a frozen profile blocks the release, and delivering secrets to a profile that cannot read them breaks the workload, so setup and delivery share this signal.