pub struct AllowedSubjectAltNames {
    pub allow_custom_sans: Option<bool>,
    pub allow_globbing_dns_wildcards: Option<bool>,
    pub allowed_dns_names: Option<Vec<String>>,
    pub allowed_email_addresses: Option<Vec<String>>,
    pub allowed_ips: Option<Vec<String>>,
    pub allowed_uris: Option<Vec<String>>,
}
Expand description

AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the CertificateAuthority when issuing Certificates.

This type is not used in any activity, and only used as part of another schema.

Fields

allow_custom_sans: Option<bool>

Optional. Specifies if to allow custom X509Extension values.

allow_globbing_dns_wildcards: Option<bool>

Optional. Specifies if glob patterns used for allowed_dns_names allow wildcard certificates. If this is set, certificate requests with wildcard domains will be permitted to match a glob pattern specified in allowed_dns_names. Otherwise, certificate requests with wildcard domains will be permitted only if allowed_dns_names contains a literal wildcard.

allowed_dns_names: Option<Vec<String>>

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \*). E.g. for globbed entries: *bar.com will allow foo.bar.com, but not *.bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \*.bar.com will allow *.bar.com, but not foo.bar.com.

allowed_email_addresses: Option<Vec<String>>

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

allowed_ips: Option<Vec<String>>

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the ‘/’ notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

allowed_uris: Option<Vec<String>>

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. ‘/’) use the double star glob pattern (i.e. ‘**’).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more