Class MutualTransportLayerSecurity
Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
Inherited Members
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class MutualTransportLayerSecurity
Properties
CertificateId
Declaration
[Required(ErrorMessage = "CertificateId is required.")]
[JsonProperty(PropertyName = "certificateId")]
public string CertificateId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. |
Remarks
Required
MaximumValidity
Declaration
[JsonProperty(PropertyName = "maximumValidity")]
public int? MaximumValidity { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. |
Mode
Declaration
[Required(ErrorMessage = "Mode is required.")]
[JsonProperty(PropertyName = "mode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MutualTransportLayerSecurity.ModeEnum? Mode { get; set; }
Property Value
Type | Description |
---|---|
MutualTransportLayerSecurity.ModeEnum? | DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. |
Remarks
Required