vault/plugins/database/postgresql
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
..
postgresql-database-plugin [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
scram VAULT-13614 Support SCRAM-SHA-256 encrypted passwords for PostgreSQL (#19616) 2023-03-21 12:12:53 -07:00
passwordauthentication.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
postgresql_test.go db/postgres: add feature flag protected sslinline configuration (#27871) 2024-08-01 11:43:54 -05:00
postgresql.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00