| 132 | }; |
| 133 | |
| 134 | export const getScramSocketConfiguration = (): SocketConfiguration => { |
| 135 | return { |
| 136 | applicationName: config.postgres_scram.applicationName, |
| 137 | database: config.postgres_scram.database, |
| 138 | hostname: config.postgres_scram.socket, |
| 139 | host_type: "socket", |
| 140 | options: {}, |
| 141 | password: config.postgres_scram.password, |
| 142 | port: config.postgres_scram.port, |
| 143 | user: config.postgres_scram.users.socket, |
| 144 | }; |
| 145 | }; |
| 146 | |
| 147 | export const getTlsOnlyConfiguration = (): TcpConfiguration => { |
| 148 | return { |