()
| 145 | }; |
| 146 | |
| 147 | export const getTlsOnlyConfiguration = (): TcpConfiguration => { |
| 148 | return { |
| 149 | applicationName: config.postgres_md5.applicationName, |
| 150 | database: config.postgres_md5.database, |
| 151 | hostname: config.postgres_md5.hostname, |
| 152 | host_type: "tcp", |
| 153 | options: {}, |
| 154 | password: config.postgres_md5.password, |
| 155 | port: config.postgres_md5.port, |
| 156 | tls: enabled_tls, |
| 157 | user: config.postgres_md5.users.tls_only, |
| 158 | }; |
| 159 | }; |