pub struct IssuerVault {
pub auth: IssuerVaultAuth,
pub ca_bundle: Option<String>,
pub ca_bundle_secret_ref: Option<IssuerVaultCaBundleSecretRef>,
pub client_cert_secret_ref: Option<IssuerVaultClientCertSecretRef>,
pub client_key_secret_ref: Option<IssuerVaultClientKeySecretRef>,
pub namespace: Option<String>,
pub path: String,
pub server: String,
}Expand description
Vault configures this issuer to sign certificates using a HashiCorp Vault PKI backend.
Fields§
§auth: IssuerVaultAuthAuth configures how cert-manager authenticates with the Vault server.
ca_bundle: Option<String>Base64-encoded bundle of PEM CAs which will be used to validate the certificate chain presented by Vault. Only used if using HTTPS to connect to Vault and ignored for HTTP connections. Mutually exclusive with CABundleSecretRef. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection.
ca_bundle_secret_ref: Option<IssuerVaultCaBundleSecretRef>Reference to a Secret containing a bundle of PEM-encoded CAs to use when verifying the certificate chain presented by Vault when using HTTPS. Mutually exclusive with CABundle. If neither CABundle nor CABundleSecretRef are defined, the certificate bundle in the cert-manager controller container is used to validate the TLS connection. If no key for the Secret is specified, cert-manager will default to ‘ca.crt’.
client_cert_secret_ref: Option<IssuerVaultClientCertSecretRef>Reference to a Secret containing a PEM-encoded Client Certificate to use when the Vault server requires mTLS.
client_key_secret_ref: Option<IssuerVaultClientKeySecretRef>Reference to a Secret containing a PEM-encoded Client Private Key to use when the Vault server requires mTLS.
namespace: Option<String>Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: “ns1” More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces
path: StringPath is the mount path of the Vault PKI backend’s sign endpoint, e.g:
“my_pki_mount/sign/my-role-name”.
server: StringServer is the connection address for the Vault server, e.g: “https://vault.example.com:8200”.
Trait Implementations§
Source§impl Clone for IssuerVault
impl Clone for IssuerVault
Source§fn clone(&self) -> IssuerVault
fn clone(&self) -> IssuerVault
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IssuerVault
impl Debug for IssuerVault
Source§impl Default for IssuerVault
impl Default for IssuerVault
Source§fn default() -> IssuerVault
fn default() -> IssuerVault
Source§impl<'de> Deserialize<'de> for IssuerVault
impl<'de> Deserialize<'de> for IssuerVault
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>,
Auto Trait Implementations§
impl Freeze for IssuerVault
impl RefUnwindSafe for IssuerVault
impl Send for IssuerVault
impl Sync for IssuerVault
impl Unpin for IssuerVault
impl UnwindSafe for IssuerVault
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§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::RequestSource§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
Source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto.Source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto.Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign, for types that do not implement AddAssign.