vault/command/server/test-fixtures
Scott Miller c6da02962d
Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908)
* Add a configuration flag for enabling multiseal (Seal HA), CE side

* imports

* no quotes

* get rid of dep on ent config

* Abstract enableMultiSeal for a build time switch

* license headers

* wip

* gate physical seal gen fetch by a param

* docs tweak, remove core flag

* updates from the ent pr

* update stub

* update test fixtures for enable_multiseal

* use accessor

* add a test fixture for non-multiseal diagnose

* remove debugging crtuch

* Do handle phys seal gen info even if multiseal is off, in order to facilitate enable/disable safeties

* more enabled flag handling

* Accept seal gen info if we were previously disabled, and persist it

* update unit test

* Validation happens postUnseal, so this test is invalid

* Dont continue setting conf if seal loading fails during SIGHUP

* Update website/content/docs/configuration/seal/seal-ha.mdx

Thanks, that does sound much clearer

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>

* use validation if previous gen was enabled

* unit test update

* stub SetMultisealEnabled

* bring over more changes from ent

* this was an unfix

---------

Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2024-03-22 14:23:05 +00:00
..
config-dir [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
reload Add tests. This actually adds the initial tests for the TLS listener, 2016-03-11 14:05:52 -05:00
telemetry [VAULT-17826] Remove mount point from rollback metrics (#22400) 2023-08-21 16:55:37 +02:00
config.hcl Support setting plugin TMPDIR in config as well as env (#24978) 2024-01-30 13:10:23 +00:00
config.hcl.json remove trailing comma in json file (#12640) 2021-10-12 12:03:01 -04:00
config2.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config2.hcl.json Backport some OSS changes (#10267) 2020-10-29 16:47:34 -07:00
config3.hcl Request Limiter listener config opt-out (#25098) 2024-01-26 15:24:32 -05:00
config4.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config4.hcl.json Fix JSON encoding adding newlines. (#8928) 2020-05-19 16:13:05 -07:00
config5.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_bad_https_storage.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_custom_response_headers_1.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_custom_response_headers_multiple_listeners.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_diagnose_hastorage_bad_https.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_diagnose_ok.hcl Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config_diagnose_ok_singleseal.hcl Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config_raft.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_seals.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_small.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_small.json VAULT-8519 fix spurious "unknown or unsupported fields" warnings for JSON config (#17660) 2022-10-27 10:28:03 -04:00
config_with_valid_admin_ns.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_with_valid_admin_ns.json Add high privilege namespace (#21215) 2023-07-06 09:51:43 +02:00
diagnose_bad_https_consul_sr.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_bad_telemetry1.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_bad_telemetry2.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_bad_telemetry3.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_ok_storage_direct_access.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_raft_no_bolt_folder.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
diagnose_seal_transit_tls_check.hcl Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
hcp_link_config.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
nostore_config.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
raft_retry_join.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
raft_storage_file.db Diagnose checks for raft quorum status and file backend permissions (#11771) 2021-06-17 10:04:21 -07:00
storage-listener-config.json Query and Precompute Non-Contiguous Segments in the Activity Log (#15352) 2022-05-17 12:17:32 -07:00
tls_config_ok.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
unauth_in_flight_access.hcl [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00