# AlloyDB v1 API - Enum SslConfig.Types.SslMode (1.15.0)

1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public enum SslConfig.Types.SslMode

Reference documentation and code samples for the AlloyDB v1 API enum SslConfig.Types.SslMode.

SSL mode options.

## Namespace

[Google.Cloud.AlloyDb.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)

## Assembly

Google.Cloud.AlloyDb.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Allow` | SSL connections are optional. CA verification not enforced. |
| `AllowUnencryptedAndEncrypted` | SSL connections are optional. CA verification not enforced. |
| `EncryptedOnly` | SSL connections are required. CA verification not enforced. |
| `Require` | SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior). |
| `Unspecified` | SSL mode is not specified. Defaults to ENCRYPTED_ONLY. |
| `VerifyCa` | SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, for example, using GenerateClientCertificate. |