sslMode property

String? sslMode
getter/setter pair

SSL mode.

Specifies client-server SSL/TLS connection behavior.

Optional. Possible string values are:

  • "SSL_MODE_UNSPECIFIED" : SSL mode not specified. Defaults to ENCRYPTED_ONLY.
  • "SSL_MODE_ALLOW" : SSL connections are optional. CA verification not enforced.
  • "SSL_MODE_REQUIRE" : SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
  • "SSL_MODE_VERIFY_CA" : SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
  • "ALLOW_UNENCRYPTED_AND_ENCRYPTED" : SSL connections are optional. CA verification not enforced.
  • "ENCRYPTED_ONLY" : SSL connections are required. CA verification not enforced.

Implementation

core.String? sslMode;