Class: Google::Cloud::Datastream::V1::PostgresqlSslConfig::ServerAndClientVerification

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option.

Instance Attribute Summary collapse

Instance Attribute Details

#ca_certificate::String

Returns Required. Input only. PEM-encoded server root CA certificate.

Returns:

  • (::String)

    Required. Input only. PEM-encoded server root CA certificate.



672
673
674
675
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 672

class ServerAndClientVerification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#client_certificate::String

Returns Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.

Returns:

  • (::String)

    Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.



672
673
674
675
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 672

class ServerAndClientVerification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#client_key::String

Returns Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.

Returns:

  • (::String)

    Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.



672
673
674
675
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 672

class ServerAndClientVerification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#server_certificate_hostname::String

Returns Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.

Returns:

  • (::String)

    Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.



672
673
674
675
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 672

class ServerAndClientVerification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end