vault/command/server
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
..
test-fixtures Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config.go Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config_custom_response_headers_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_oss.go Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config_oss_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_telemetry_test.go [VAULT-17826] Remove mount point from rollback metrics (#22400) 2023-08-21 16:55:37 +02:00
config_test.go Add vault community changes for the Seal HA project. (#22515) 2023-08-24 11:40:01 -04:00
config_test_helpers.go Move Request Limiter to enterprise (#25615) 2024-02-27 16:24:06 -05:00
config_test_helpers_stubs_oss.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
config_util.go Add a configuration flag for enabling multiseal (Seal HA), CE side (#25908) 2024-03-22 14:23:05 +00:00
config_util_test.go Move Request Limiter to enterprise (#25615) 2024-02-27 16:24:06 -05:00
hcp_link_config_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
listener.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
listener_tcp.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
listener_tcp_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
listener_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
listener_unix.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
listener_unix_test.go Switch from mitchellh/cli to hashicorp/cli (#24239) 2023-12-04 11:05:02 -08:00
server_seal_transit_acc_test.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
server_stubs_oss.go Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
tls_util.go Add -dev-tls-san flag (#22657) 2023-08-31 23:31:42 +01:00
tls_util_test.go Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00