Skip to content

http

Structs

Type Aliases


firma_secret_provider::spec::http::HttpIntegrationSpec

Section titled “firma_secret_provider::spec::http::HttpIntegrationSpec”

Struct

Per-HTTP-vault behavior spec: which traffic to intercept and how to extract secrets from the response body. Callers own placeholder minting and persistence for extracted values.

Generic Parameters:

  • Matcher

Fields:

  • provider_id: String - Stable integration identity (e.g. "aws-secrets-manager").
  • host: String - Host glob pattern to match against MITM’d responses (e.g.
  • matchers: Vec<HttpMatcherRule<Matcher>> - Candidate matchers, tried against the request path via

Methods:

  • fn matcher_for(self: &Self, path: &str) -> MatchingResolution<Matcher> - Resolves the matcher to apply for a response observed on path.

Traits: Eq

Trait Implementations:

  • PartialEq
    • fn eq(self: &Self, other: &HttpIntegrationSpec<Matcher>) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • MatcherCompiler
    • fn compile(self: &Self) -> Result<<Self as >::Ok, MatcherError>
  • Clone
    • fn clone(self: &Self) -> HttpIntegrationSpec<Matcher>

firma_secret_provider::spec::http::HttpMatcherRule

Section titled “firma_secret_provider::spec::http::HttpMatcherRule”

Type Alias: super::MatcherRule<PathAndMatcher<Matcher>, PathOnly>

firma_secret_provider::spec::http::PathAndMatcher

Section titled “firma_secret_provider::spec::http::PathAndMatcher”

Struct

Generic Parameters:

  • Matcher

Fields:

  • path: Option<String> - Path glob pattern (e.g. "/v1/secrets/*"). None matches any path on
  • matcher: Matcher - How to extract (name, value) pairs from the tool’s stdout.

Traits: Eq

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • MatcherCompiler
    • fn compile(self: &Self) -> Result<<Self as >::Ok, MatcherError>
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> PathAndMatcher<Matcher>
  • PartialEq
    • fn eq(self: &Self, other: &PathAndMatcher<Matcher>) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

firma_secret_provider::spec::http::PathOnly

Section titled “firma_secret_provider::spec::http::PathOnly”

Struct

Fields:

  • path: crate::non_empty::NonEmptyString - Path glob pattern (e.g. "/v1/secrets/*"). None matches any path on

Traits: Eq

Trait Implementations:

  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> PathOnly
  • PartialEq
    • fn eq(self: &Self, other: &PathOnly) -> bool
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result