vault/builtin/logical/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
..
dbplugin Refactor plugin catalog and plugin runtime catalog into their own package (#24403) 2023-12-07 12:36:17 +00:00
schedule Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
backend.go database: Avoid race condition in connection creation (#26147) 2024-03-26 16:58:07 +00:00
backend_get_test.go database: Avoid race condition in connection creation (#26147) 2024-03-26 16:58:07 +00:00
backend_test.go db/postgres: add feature flag protected sslinline configuration (#27871) 2024-08-01 11:43:54 -05:00
credentials.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
credentials_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
mocks_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
mockv4.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
mockv5.go database: Avoid race condition in connection creation (#26147) 2024-03-26 16:58:07 +00:00
path_config_connection.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
path_config_connection_test.go secrets/db: add rotation error path test (#23182) 2023-09-20 14:07:17 -05:00
path_creds_create.go database: Emit event notifications (#24718) 2024-02-05 10:30:00 -08:00
path_roles.go database: Emit event notifications (#24718) 2024-02-05 10:30:00 -08:00
path_roles_test.go db: refactor postgres test helpers (#27811) 2024-07-19 09:47:34 -05:00
path_rotate_credentials.go database: Emit event notifications (#24718) 2024-02-05 10:30:00 -08:00
rollback.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
rollback_test.go db: refactor postgres test helpers (#27811) 2024-07-19 09:47:34 -05:00
rotation.go database: Emit event notifications (#24718) 2024-02-05 10:30:00 -08:00
rotation_test.go db: refactor postgres test helpers (#27811) 2024-07-19 09:47:34 -05:00
secret_creds.go VAULT-27384 Fix faulty assignments and unchecked errors (#27810) 2024-07-22 16:53:02 -04:00
version_wrapper.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
version_wrapper_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
versioning_large_test.go Support reloading database plugins across multiple mounts (#24512) 2024-01-08 12:21:13 +00:00