Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

YarpSslProtocol

Enum
📦 Aspire.Hosting.Yarp v17.0.0

Specifies the SSL protocols to enable for a YARP cluster. This enum exists because SslProtocols includes obsolete members and values that YARP does not accept.

type YarpSslProtocol string
const (
YarpSslProtocolNone YarpSslProtocol = "None"
YarpSslProtocolTls12 YarpSslProtocol = "Tls12"
YarpSslProtocolTls13 YarpSslProtocol = "Tls13"
)

Values

YarpSslProtocolNone"None"
No SSL protocol.
YarpSslProtocolTls12"Tls12"
TLS 1.2.
YarpSslProtocolTls13"Tls13"
TLS 1.3.