Class: Google::Cloud::AlloyDB::V1alpha::SslConfig
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1alpha::SslConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1alpha/resources.rb
Overview
SSL configuration.
Defined Under Namespace
Instance Attribute Summary collapse
-
#ca_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::SslConfig::CaSource
Optional.
-
#ssl_mode ⇒ ::Google::Cloud::AlloyDB::V1alpha::SslConfig::SslMode
Optional.
Instance Attribute Details
#ca_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::SslConfig::CaSource
Returns Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 111 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # SSL mode options. module SslMode # SSL mode not specified. Defaults to ENCRYPTED_ONLY. SSL_MODE_UNSPECIFIED = 0 # SSL connections are optional. CA verification not enforced. SSL_MODE_ALLOW = 1 # SSL connections are required. CA verification not enforced. # Clients may use locally self-signed certificates (default psql client # behavior). SSL_MODE_REQUIRE = 2 # SSL connections are required. CA verification enforced. # Clients must have certificates signed by a Cluster CA, e.g. via # GenerateClientCertificate. SSL_MODE_VERIFY_CA = 3 # SSL connections are optional. CA verification not enforced. ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4 # SSL connections are required. CA verification not enforced. ENCRYPTED_ONLY = 5 end # Certificate Authority (CA) source for SSL/TLS certificates. module CaSource # Certificate Authority (CA) source not specified. Defaults to # CA_SOURCE_MANAGED. CA_SOURCE_UNSPECIFIED = 0 # Certificate Authority (CA) managed by the AlloyDB Cluster. CA_SOURCE_MANAGED = 1 end end |
#ssl_mode ⇒ ::Google::Cloud::AlloyDB::V1alpha::SslConfig::SslMode
Returns Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 111 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # SSL mode options. module SslMode # SSL mode not specified. Defaults to ENCRYPTED_ONLY. SSL_MODE_UNSPECIFIED = 0 # SSL connections are optional. CA verification not enforced. SSL_MODE_ALLOW = 1 # SSL connections are required. CA verification not enforced. # Clients may use locally self-signed certificates (default psql client # behavior). SSL_MODE_REQUIRE = 2 # SSL connections are required. CA verification enforced. # Clients must have certificates signed by a Cluster CA, e.g. via # GenerateClientCertificate. SSL_MODE_VERIFY_CA = 3 # SSL connections are optional. CA verification not enforced. ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4 # SSL connections are required. CA verification not enforced. ENCRYPTED_ONLY = 5 end # Certificate Authority (CA) source for SSL/TLS certificates. module CaSource # Certificate Authority (CA) source not specified. Defaults to # CA_SOURCE_MANAGED. CA_SOURCE_UNSPECIFIED = 0 # Certificate Authority (CA) managed by the AlloyDB Cluster. CA_SOURCE_MANAGED = 1 end end |