Skip to content

secret_store

Structs

  • SidecarSecretStore - In-memory placeholder ↔ secret dictionary for the Sidecar redact path.

Enums


firma_sidecar::secret_store::SecretStoreError

Section titled “firma_sidecar::secret_store::SecretStoreError”

Enum

Errors from mutating the [SidecarSecretStore].

Variants:

  • Matcher(aho_corasick::BuildError)

Trait Implementations:

  • Error
    • fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
  • Display
    • fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_sidecar::secret_store::SidecarSecretStore

Section titled “firma_sidecar::secret_store::SidecarSecretStore”

Struct

In-memory placeholder ↔ secret dictionary for the Sidecar redact path.

Populated by the broker via push; read by the MITM rewrite pipeline. Clone is cheap (Arc-free) and used via ArcSwap-style copy-on-write in the accept loop — each insert returns a new store rather than mutating in place, so readers see a consistent snapshot without locking.

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> SidecarSecretStore
  • Default
    • fn default() -> SidecarSecretStore
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result