Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class SslMode (0.3.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class SslMode.

SSL mode options.

Protobuf type google.cloud.alloydb.v1alpha.SslConfig.SslMode

Namespace

Google \ Cloud \ AlloyDb \ V1alpha \ SslConfig

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SSL_MODE_UNSPECIFIED

Value: 0

SSL mode not specified. Defaults to ENCRYPTED_ONLY.

Generated from protobuf enum SSL_MODE_UNSPECIFIED = 0;

SSL_MODE_ALLOW

Value: 1

SSL connections are optional. CA verification not enforced.

Generated from protobuf enum SSL_MODE_ALLOW = 1 [deprecated = true];

SSL_MODE_REQUIRE

Value: 2

SSL connections are required. CA verification not enforced.

Clients may use locally self-signed certificates (default psql client behavior).

Generated from protobuf enum SSL_MODE_REQUIRE = 2 [deprecated = true];

SSL_MODE_VERIFY_CA

Value: 3

SSL connections are required. CA verification enforced.

Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.

Generated from protobuf enum SSL_MODE_VERIFY_CA = 3 [deprecated = true];

ALLOW_UNENCRYPTED_AND_ENCRYPTED

Value: 4

SSL connections are optional. CA verification not enforced.

Generated from protobuf enum ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4;

ENCRYPTED_ONLY

Value: 5

SSL connections are required. CA verification not enforced.

Generated from protobuf enum ENCRYPTED_ONLY = 5;