authority
Module: startup::authority
Section titled “Module: startup::authority”Contents
Section titled “Contents”Functions
spawn_authority_client- Spawn the Authority stream clients whenpolicy.authority_urlis
firma_sidecar::startup::authority::spawn_authority_client
Section titled “firma_sidecar::startup::authority::spawn_authority_client”Function
Spawn the Authority stream clients when policy.authority_url is
set. Uses the shared policy snapshot, revocation store, and
readiness flag owned by the [PipelineRuntime].
Errors
Section titled “Errors”Returns an error when the configured Authority URL cannot be parsed into a tonic endpoint, or when a required CA cert or client cert file cannot be read.
fn spawn_authority_client(config: &config::SidecarConfig, runtime: &crate::startup::pipeline::PipelineRuntime, cancel: tokio_util::sync::CancellationToken) -> anyhow::Result<Option<crate::authority_client::AuthorityClientHandle>>