pub struct MiddlewareForwardAuthTls {
pub ca_optional: Option<bool>,
pub ca_secret: Option<String>,
pub cert_secret: Option<String>,
pub insecure_skip_verify: Option<bool>,
}
Expand description
TLS defines the configuration used to secure the connection to the authentication server.
Fields§
§ca_optional: Option<bool>
Deprecated: TLS client authentication is a server side option (see https://github.com/golang/go/blob/740a490f71d026bb7d2d13cb8fa2d6d6e0572b70/src/crypto/tls/common.go#L634).
ca_secret: Option<String>
CASecret is the name of the referenced Kubernetes Secret containing the CA to validate the server certificate.
The CA certificate is extracted from key tls.ca
or ca.crt
.
cert_secret: Option<String>
CertSecret is the name of the referenced Kubernetes Secret containing the client certificate.
The client certificate is extracted from the keys tls.crt
and tls.key
.
insecure_skip_verify: Option<bool>
InsecureSkipVerify defines whether the server certificates should be validated.
Implementations§
Source§impl MiddlewareForwardAuthTls
impl MiddlewareForwardAuthTls
Sourcepub fn builder() -> MiddlewareForwardAuthTlsBuilder<((), (), (), ())>
pub fn builder() -> MiddlewareForwardAuthTlsBuilder<((), (), (), ())>
Create a builder for building MiddlewareForwardAuthTls
.
On the builder, call .ca_optional(...)
(optional), .ca_secret(...)
(optional), .cert_secret(...)
(optional), .insecure_skip_verify(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of MiddlewareForwardAuthTls
.
Trait Implementations§
Source§impl Clone for MiddlewareForwardAuthTls
impl Clone for MiddlewareForwardAuthTls
Source§fn clone(&self) -> MiddlewareForwardAuthTls
fn clone(&self) -> MiddlewareForwardAuthTls
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MiddlewareForwardAuthTls
impl Debug for MiddlewareForwardAuthTls
Source§impl Default for MiddlewareForwardAuthTls
impl Default for MiddlewareForwardAuthTls
Source§fn default() -> MiddlewareForwardAuthTls
fn default() -> MiddlewareForwardAuthTls
Source§impl<'de> Deserialize<'de> for MiddlewareForwardAuthTls
impl<'de> Deserialize<'de> for MiddlewareForwardAuthTls
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>,
Source§impl JsonSchema for MiddlewareForwardAuthTls
impl JsonSchema for MiddlewareForwardAuthTls
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for MiddlewareForwardAuthTls
impl PartialEq for MiddlewareForwardAuthTls
Source§impl Serialize for MiddlewareForwardAuthTls
impl Serialize for MiddlewareForwardAuthTls
impl StructuralPartialEq for MiddlewareForwardAuthTls
Auto Trait Implementations§
impl Freeze for MiddlewareForwardAuthTls
impl RefUnwindSafe for MiddlewareForwardAuthTls
impl Send for MiddlewareForwardAuthTls
impl Sync for MiddlewareForwardAuthTls
impl Unpin for MiddlewareForwardAuthTls
impl UnwindSafe for MiddlewareForwardAuthTls
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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