pub struct VaultSecretProviderFactory { /* private fields */ }Expand description
Builds a Vault KV v2 SecretProvider.
Implementations§
Source§impl VaultSecretProviderFactory
impl VaultSecretProviderFactory
Sourcepub fn new(transport: Arc<dyn HttpTransport>) -> VaultSecretProviderFactory
pub fn new(transport: Arc<dyn HttpTransport>) -> VaultSecretProviderFactory
Capture the host transport. Does not dial.
Trait Implementations§
Source§impl SecretProviderFactory for VaultSecretProviderFactory
impl SecretProviderFactory for VaultSecretProviderFactory
Source§fn build(
&self,
config: &SecretProviderConfig,
) -> Result<Arc<dyn SecretProvider>, SecretError>
fn build( &self, config: &SecretProviderConfig, ) -> Result<Arc<dyn SecretProvider>, SecretError>
Build one provider instance from its declared settings. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for VaultSecretProviderFactory
impl !UnwindSafe for VaultSecretProviderFactory
impl Freeze for VaultSecretProviderFactory
impl Send for VaultSecretProviderFactory
impl Sync for VaultSecretProviderFactory
impl Unpin for VaultSecretProviderFactory
impl UnsafeUnpin for VaultSecretProviderFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
impl<T, X> CoerceTo<T> for Xwhere
T: CoerceFrom<X> + ?Sized,
fn coerce_rc_to(self: Rc<X>) -> Rc<T>
fn coerce_box_to(self: Box<X>) -> Box<T>
fn coerce_ref_to(&self) -> &T
fn coerce_mut_to(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more