[][src]Struct vault_rs::sys::mounts::SecretsEngineConfig

pub struct SecretsEngineConfig {
    pub default_lease_ttl: Option<u64>,
    pub max_lease_ttl: Option<u64>,
    pub force_no_cache: Option<bool>,
    pub audit_non_hmac_request_keys: Option<HashSet<String>>,
    pub audit_non_hmac_response_keys: Option<HashSet<String>>,
    pub listing_visibility: Option<ListingVisibility>,
    pub passthrough_request_headers: Option<HashSet<String>>,
    pub allowed_response_headers: Option<HashSet<String>>,
    pub options: Option<HashMap<String, String>>,
    pub local: Option<bool>,
    pub seal_wrap: Option<bool>,
}

Configuration options for secrets engines

Fields

default_lease_ttl: Option<u64>

The default lease duration, specified as a string duration like "5s" or "30m".

max_lease_ttl: Option<u64>

The maximum lease duration, specified as a string duration like "5s" or "30m".

force_no_cache: Option<bool>

Disable caching.

audit_non_hmac_request_keys: Option<HashSet<String>>

List of keys that will not be HMAC'd by audit devices in the request data object.

audit_non_hmac_response_keys: Option<HashSet<String>>

List of keys that will not be HMAC'd by audit devices in the response data object.

listing_visibility: Option<ListingVisibility>

Specifies whether to show this mount in the UI-specific listing endpoint.

passthrough_request_headers: Option<HashSet<String>>

List of headers to whitelist and pass from the request to the plugin.

allowed_response_headers: Option<HashSet<String>>

List of headers to whitelist, allowing a plugin to include them in the response.

options: Option<HashMap<String, String>>

Specifies mount type specific options that are passed to the backend.

local: Option<bool>

(Vault Enterprise) Specifies if the secrets engine is a local mount only. Local mounts are not replicated nor (if a secondary) removed by replication.

seal_wrap: Option<bool>

(Vault Enterprise) Enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability.

Trait Implementations

impl Debug for SecretsEngineConfig[src]

impl Default for SecretsEngineConfig[src]

impl<'de> Deserialize<'de> for SecretsEngineConfig[src]

impl Eq for SecretsEngineConfig[src]

impl PartialEq<SecretsEngineConfig> for SecretsEngineConfig[src]

impl Serialize for SecretsEngineConfig[src]

impl StructuralEq for SecretsEngineConfig[src]

impl StructuralPartialEq for SecretsEngineConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SecretsEngineConfig

impl Send for SecretsEngineConfig

impl Sync for SecretsEngineConfig

impl Unpin for SecretsEngineConfig

impl UnwindSafe for SecretsEngineConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.