pub struct HttpStoreSettings {
pub base_url: String,
pub read: Box<HttpStoreSettingsRead>,
pub path_encoding: Option<PathEncoding>,
pub extra_headers: Option<HashMap<String, String>>,
pub auth: Box<HttpStoreAuth>,
pub ca_bundle_path: Option<String>,
pub timeout_secs: Option<i32>,
pub skip_ssl_verify: Option<bool>,
}Expand description
HttpStoreSettings : Read-only secret backend for any secret store with an HTTP API. A secret variable saved with an empty value references the store key derived from its workspace and path.
Fields§
§base_url: StringScheme, host and optional path prefix of the store
read: Box<HttpStoreSettingsRead>§path_encoding: Option<PathEncoding>How a variable path becomes a store key (default url)
extra_headers: Option<HashMap<String, String>>§auth: Box<HttpStoreAuth>§ca_bundle_path: Option<String>PEM bundle of additional CA certificates trusted for the store
timeout_secs: Option<i32>§skip_ssl_verify: Option<bool>Implementations§
Source§impl HttpStoreSettings
impl HttpStoreSettings
Sourcepub fn new(
base_url: String,
read: HttpStoreSettingsRead,
auth: HttpStoreAuth,
) -> HttpStoreSettings
pub fn new( base_url: String, read: HttpStoreSettingsRead, auth: HttpStoreAuth, ) -> HttpStoreSettings
Read-only secret backend for any secret store with an HTTP API. A secret variable saved with an empty value references the store key derived from its workspace and path.
Trait Implementations§
Source§impl Clone for HttpStoreSettings
impl Clone for HttpStoreSettings
Source§impl Debug for HttpStoreSettings
impl Debug for HttpStoreSettings
Source§impl Default for HttpStoreSettings
impl Default for HttpStoreSettings
Source§impl<'de> Deserialize<'de> for HttpStoreSettings
impl<'de> Deserialize<'de> for HttpStoreSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpStoreSettings
impl PartialEq for HttpStoreSettings
Source§impl Serialize for HttpStoreSettings
impl Serialize for HttpStoreSettings
impl StructuralPartialEq for HttpStoreSettings
Auto Trait Implementations§
impl Forget for HttpStoreSettings
impl Freeze for HttpStoreSettings
impl RefUnwindSafe for HttpStoreSettings
impl Send for HttpStoreSettings
impl Sync for HttpStoreSettings
impl Unpin for HttpStoreSettings
impl UnsafeUnpin for HttpStoreSettings
impl UnwindSafe for HttpStoreSettings
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