vault/plugins/database
John-Michael Faircloth 899ebd4aff
db/postgres: add feature flag protected sslinline configuration (#27871)
* adds sslinline option to postgres conn string
* for database secrets type postgres, inspects the connection string for sslinline and generates a tlsconfig from the connection string.

* support fallback hosts

* remove broken multihost test

* bootstrap container with cert material

* overwrite pg config and set key file perms

* add feature flag check

* add tests

* add license and comments

* test all ssl modes

* add test cases for dsn (key/value) connection strings

* add fallback test cases

* fix error formatting

* add test for multi-host when using pgx native conn url parsing

---------

Co-authored-by: Branden Horiuchi <Branden.Horiuchi@blackline.com>
2024-08-01 11:43:54 -05:00
..
cassandra add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
hana [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
influxdb [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
mongodb MongoDB database secret engine - rotate-root - Only default to admin if DB blank (#23240) 2023-10-03 20:28:25 -05:00
mssql db/mssql: increase context timeout in test (#27663) 2024-07-02 15:56:47 -05:00
mysql secrets/database: Add usePrivateIP field for cloudsql postgresql instances (#26828) 2024-06-25 14:17:13 -05:00
postgresql db/postgres: add feature flag protected sslinline configuration (#27871) 2024-08-01 11:43:54 -05:00
redshift [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00