pub struct MongodbSslConfig {
pub client_key: String,
pub client_key_set: bool,
pub client_certificate: String,
pub client_certificate_set: bool,
pub ca_certificate: String,
pub ca_certificate_set: bool,
pub secret_manager_stored_client_key: String,
}Expand description
MongoDB SSL configuration information.
Fields§
§client_key: StringOptional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the ‘client_certificate’ and the ‘ca_certificate’ fields are mandatory.
client_key_set: boolOutput only. Indicates whether the client_key field is set.
client_certificate: StringOptional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the ‘client_key’ and the ‘ca_certificate’ fields are mandatory.
client_certificate_set: boolOutput only. Indicates whether the client_certificate field is set.
ca_certificate: StringOptional. Input only. PEM-encoded certificate of the CA that signed the source database server’s certificate.
ca_certificate_set: boolOutput only. Indicates whether the ca_certificate field is set.
secret_manager_stored_client_key: StringOptional. Input only. A reference to a Secret Manager resource name storing
the PEM-encoded private key associated with the Client Certificate. If this
field is used then the ‘client_certificate’ and the ‘ca_certificate’ fields
are mandatory. Mutually exclusive with the client_key field.
Trait Implementations§
Source§impl Clone for MongodbSslConfig
impl Clone for MongodbSslConfig
Source§fn clone(&self) -> MongodbSslConfig
fn clone(&self) -> MongodbSslConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MongodbSslConfig
impl Debug for MongodbSslConfig
Source§impl Default for MongodbSslConfig
impl Default for MongodbSslConfig
Source§fn default() -> MongodbSslConfig
fn default() -> MongodbSslConfig
Source§impl Hash for MongodbSslConfig
impl Hash for MongodbSslConfig
Source§impl Message for MongodbSslConfig
impl Message for MongodbSslConfig
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for MongodbSslConfig
impl PartialEq for MongodbSslConfig
impl Eq for MongodbSslConfig
impl StructuralPartialEq for MongodbSslConfig
Auto Trait Implementations§
impl Freeze for MongodbSslConfig
impl RefUnwindSafe for MongodbSslConfig
impl Send for MongodbSslConfig
impl Sync for MongodbSslConfig
impl Unpin for MongodbSslConfig
impl UnwindSafe for MongodbSslConfig
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request