# AlloyDB V1 API - Module Google::Cloud::AlloyDB::V1::SslConfig::SslMode (v1.9.0)

1.9.0 (latest) 1.7.0 1.6.2 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.0 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1 API module Google::Cloud::AlloyDB::V1::SslConfig::SslMode.

SSL mode options.

## Constants

### SSL_MODE_UNSPECIFIED

**value:** 0  
SSL mode is not specified. Defaults to ENCRYPTED_ONLY.

### SSL_MODE_ALLOW

**value:** 1  
SSL connections are optional. CA verification not enforced.

### SSL_MODE_REQUIRE

**value:** 2  
SSL connections are required. CA verification not enforced.
Clients may use locally self-signed certificates (default psql client
behavior).

### SSL_MODE_VERIFY_CA

**value:** 3  
SSL connections are required. CA verification enforced.
Clients must have certificates signed by a Cluster CA, for example, using
GenerateClientCertificate.

### ALLOW_UNENCRYPTED_AND_ENCRYPTED

**value:** 4  
SSL connections are optional. CA verification not enforced.

### ENCRYPTED_ONLY

**value:** 5  
SSL connections are required. CA verification not enforced.