secret_shims
Module: runtime::secret_shims
Section titled “Module: runtime::secret_shims”Contents
Section titled “Contents”Structs
SecretServices- Running secret services (gateway + broker) owned by onefirma run.
firma_run::runtime::secret_shims::SecretServices
Section titled “firma_run::runtime::secret_shims::SecretServices”Struct
Running secret services (gateway + broker) owned by one firma run.
Dropping the guard stops the service thread and joins it: the listeners are
dropped first (their Drop removes the Unix socket files), so in-flight
connections fail fast and the per-run plaintext SecretStore becomes
unreachable once the run finishes.
Methods:
fn start(runtime_layout: &firma_runtime_state::RuntimeLayout, handle: &SandboxHandle, identity: &crate::identity::RunIdentity, profile: &ResolvedProfile, shim_support: &ResolvedSecretShimSupport) -> Result<Self, RunError>- Start the secret gateway and broker for one run.fn gateway_addr(self: &Self) -> &str- Formatted gateway address passed to the Sidecar.fn broker_addr(self: &Self) -> &str- Formatted broker address, injected into shimmed agent processes.
Trait Implementations:
- Drop
fn drop(self: & mut Self)