Reference documentation and code samples for the AlloyDB V1ALPHA API module Google::Cloud::AlloyDB::V1alpha::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AlloyDB V1ALPHA API - Module Google::Cloud::AlloyDB::V1alpha::SslConfig::SslMode (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.14.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.14.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.13.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.13.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.12.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.12.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.11.1](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.11.1/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.10.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.10.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.9.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.9.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.8.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.8.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.7.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.7.2/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.6.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.6.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.5.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.5.2/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.4.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.4.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.3.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.3.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.2.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.2.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode)\n- [0.1.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.1.0/Google-Cloud-AlloyDB-V1alpha-SslConfig-SslMode) \nReference documentation and code samples for the AlloyDB V1ALPHA API module Google::Cloud::AlloyDB::V1alpha::SslConfig::SslMode.\n\nSSL mode options.\n\nConstants\n---------\n\n### SSL_MODE_UNSPECIFIED\n\n**value:** 0 \nSSL mode is not specified. Defaults to ENCRYPTED_ONLY.\n\n### SSL_MODE_ALLOW\n\n**value:** 1 \nSSL connections are optional. CA verification not enforced.\n\n### SSL_MODE_REQUIRE\n\n**value:** 2 \nSSL connections are required. CA verification not enforced.\nClients may use locally self-signed certificates (default psql client\nbehavior).\n\n### SSL_MODE_VERIFY_CA\n\n**value:** 3 \nSSL connections are required. CA verification enforced.\nClients must have certificates signed by a Cluster CA, for example, using\nGenerateClientCertificate.\n\n### ALLOW_UNENCRYPTED_AND_ENCRYPTED\n\n**value:** 4 \nSSL connections are optional. CA verification not enforced.\n\n### ENCRYPTED_ONLY\n\n**value:** 5 \nSSL connections are required. CA verification not enforced."]]