|
|
|
@ -248,11 +248,8 @@ message CommonTlsContext { |
|
|
|
|
// :ref:`Multiple TLS certificates <arch_overview_ssl_cert_select>` can be associated with the |
|
|
|
|
// same context to allow both RSA and ECDSA certificates and support SNI-based selection. |
|
|
|
|
// |
|
|
|
|
// Only one of ``tls_certificates``, ``tls_certificate_sds_secret_configs``, |
|
|
|
|
// and ``tls_certificate_provider_instance`` may be used. |
|
|
|
|
// [#next-major-version: These mutually exclusive fields should ideally be in a oneof, but it's |
|
|
|
|
// not legal to put a repeated field in a oneof. In the next major version, we should rework |
|
|
|
|
// this to avoid this problem.] |
|
|
|
|
// If ``tls_certificate_provider_instance`` is set, this field is ignored. |
|
|
|
|
// If this field is set, ``tls_certificate_sds_secret_configs`` is ignored. |
|
|
|
|
repeated TlsCertificate tls_certificates = 2; |
|
|
|
|
|
|
|
|
|
// Configs for fetching TLS certificates via SDS API. Note SDS API allows certificates to be |
|
|
|
@ -261,17 +258,14 @@ message CommonTlsContext { |
|
|
|
|
// The same number and types of certificates as :ref:`tls_certificates <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.tls_certificates>` |
|
|
|
|
// are valid in the the certificates fetched through this setting. |
|
|
|
|
// |
|
|
|
|
// Only one of ``tls_certificates``, ``tls_certificate_sds_secret_configs``, |
|
|
|
|
// and ``tls_certificate_provider_instance`` may be used. |
|
|
|
|
// [#next-major-version: These mutually exclusive fields should ideally be in a oneof, but it's |
|
|
|
|
// not legal to put a repeated field in a oneof. In the next major version, we should rework |
|
|
|
|
// this to avoid this problem.] |
|
|
|
|
// If ``tls_certificates`` or ``tls_certificate_provider_instance`` are set, this field |
|
|
|
|
// is ignored. |
|
|
|
|
repeated SdsSecretConfig tls_certificate_sds_secret_configs = 6; |
|
|
|
|
|
|
|
|
|
// Certificate provider instance for fetching TLS certs. |
|
|
|
|
// |
|
|
|
|
// Only one of ``tls_certificates``, ``tls_certificate_sds_secret_configs``, |
|
|
|
|
// and ``tls_certificate_provider_instance`` may be used. |
|
|
|
|
// If this field is set, ``tls_certificates`` and ``tls_certificate_provider_instance`` |
|
|
|
|
// are ignored. |
|
|
|
|
// [#not-implemented-hide:] |
|
|
|
|
CertificateProviderPluginInstance tls_certificate_provider_instance = 14; |
|
|
|
|
|
|
|
|
|