[−][src]Struct secret_keeper_hashivault::HashivaultOptions
Options for initializing HashivaultKeeper
Fields
renew_on_start: bool
If the vault token is periodic, the server can auto-renew the token at the time keeper is constructed. It does not auto-renew during runtime, so you must ensure that the token ttl is either unlimited, or at least as long as the expected runtime of the keeper. The token to be renewed is specified either with the "?token=" parameter of initial_uri, or in the environment variable VAULT_TOKEN
initial_uri: &'s str
The URI provided in opts is only currently used for initialization, and, only if renew_on_start is true. If rewnew_on_start is true, the vault server address must be provided either in the initial_uri OR in the environment variable VAULT_ADDR It is ignored for wrap and unwrap calls, in favor of the uri passed to those functions.
Implementations
impl<'o> HashivaultOptions<'o>
[src]
Auto Trait Implementations
impl<'s> RefUnwindSafe for HashivaultOptions<'s>
impl<'s> Send for HashivaultOptions<'s>
impl<'s> Sync for HashivaultOptions<'s>
impl<'s> Unpin for HashivaultOptions<'s>
impl<'s> UnwindSafe for HashivaultOptions<'s>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,