Skip to content

vault

Structs


firma_sidecar::credential::provider::vault::VaultCredentialInjector

Section titled “firma_sidecar::credential::provider::vault::VaultCredentialInjector”

Struct

Credential injector that reads Vault Agent–rendered secret files.

Connector IDs are mapped to one or more [VaultSecretEntry] descriptors at construction time. On each inject() call the referenced files are read from disk, producing the header set for the outbound request.

Trait Implementations:

  • Clone
    • fn clone(self: &Self) -> VaultCredentialInjector
  • CredentialInjector
    • fn inject(self: &'life0 Self, _envelope: &'life1 ExecutionEnvelope, connector_id: &'life2 str, _target: &'life3 str) -> ::core::pin::Pin<Box<dyn ::core::future::Future>>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_sidecar::credential::provider::vault::VaultSecretEntry

Section titled “firma_sidecar::credential::provider::vault::VaultSecretEntry”

Struct

Descriptor for a single credential file rendered by Vault Agent.

Each entry maps a connector ID to a file on disk that contains the secret value, plus the header name under which to inject it.

Trait Implementations:

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