@@ -102,6 +102,20 @@ examples:
102102 test_vars_overrides :
103103 ' deletion_protection ' : ' false'
104104 exclude_test : true
105+ - name : ' datastream_stream_postgresql_sslconfig_server_and_client_verification'
106+ primary_resource_id : ' default'
107+ vars :
108+ connection_profile_id : ' profile-id'
109+ deletion_protection : ' true'
110+ database_instance_name : ' my-instance'
111+ test_vars_overrides :
112+ ' deletion_protection ' : ' false'
113+ oics_vars_overrides :
114+ ' deletion_protection ' : ' false'
115+ external_providers : ["random"]
116+ skip_vcr : true
117+ ignore_read_extra :
118+ - ' postgresql_profile.0.password'
105119 - name : ' datastream_connection_profile_salesforce'
106120 primary_resource_id : ' default'
107121 vars :
@@ -371,6 +385,68 @@ properties:
371385 description : |
372386 Database for the PostgreSQL connection.
373387 required : true
388+ - name : ' sslConfig'
389+ type : NestedObject
390+ description : |
391+ SSL configuration for the PostgreSQL connection.
392+ properties :
393+ - name : ' serverVerification'
394+ type : NestedObject
395+ description : |
396+ If this field is set, the communication will be encrypted with TLS encryption
397+ and the server identity will be authenticated.
398+ exactly_one_of :
399+ - ' ssl_config.0.server_verification'
400+ - ' ssl_config.0.server_and_client_verification'
401+ properties :
402+ - name : ' caCertificate'
403+ type : String
404+ description : PEM-encoded server root CA certificate.
405+ required : true
406+ immutable : true
407+ sensitive : true
408+ ignore_read : true
409+ - name : ' serverAndClientVerification'
410+ type : NestedObject
411+ description : |
412+ If this field is set, the communication will be encrypted with TLS encryption
413+ and both the server identity and the client identity will be authenticated.
414+ exactly_one_of :
415+ - ' ssl_config.0.server_verification'
416+ - ' ssl_config.0.server_and_client_verification'
417+ ignore_read : true
418+ properties :
419+ - name : ' clientCertificate'
420+ type : String
421+ description : |
422+ PEM-encoded certificate used by the source database to authenticate the
423+ client identity (i.e., the Datastream's identity). This certificate is
424+ signed by either a root certificate trusted by the server or one or more
425+ intermediate certificates (which is stored with the leaf certificate) to
426+ link to this certificate to the trusted root certificate.
427+ immutable : true
428+ required : true
429+ sensitive : true
430+ ignore_read : true
431+ - name : ' clientKey'
432+ type : String
433+ description : |
434+ PEM-encoded private key associated with the client certificate.
435+ This value will be used during the SSL/TLS handshake, allowing
436+ the PostgreSQL server to authenticate the client's identity,
437+ i.e. identity of the stream.
438+ immutable : true
439+ required : true
440+ sensitive : true
441+ ignore_read : true
442+ - name : ' caCertificate'
443+ type : String
444+ description : |
445+ PEM-encoded server root CA certificate.
446+ immutable : true
447+ required : true
448+ sensitive : true
449+ ignore_read : true
374450 - name : ' salesforceProfile'
375451 min_version : beta
376452 type : NestedObject
0 commit comments