vault/command/server
Jeff Mitchell 213da13264 Add ability to migrate autoseal to autoseal (#5930)
* Add ability to migrate autoseal to autoseal

This adds the ability to migrate from shamir to autoseal, autoseal to
shamir, or autoseal to autoseal, by allowing multiple seal stanzas. A
disabled stanza will be used as the config being migrated from; this can
also be used to provide an unwrap seal on ent over multiple unseals.

A new test is added to ensure that autoseal to autoseal works as
expected.

* Fix test

* Provide default shamir info if not given in config

* Linting feedback

* Remove context var that isn't used

* Don't run auto unseal watcher when in migration, and move SetCores to SetSealsForMigration func

* Slight logic cleanup

* Fix test build and fix bug

* Updates

* remove GetRecoveryKey function
2019-03-04 14:11:56 -08:00
..
seal Add ability to migrate autoseal to autoseal (#5930) 2019-03-04 14:11:56 -08:00
test-fixtures fixing command server tests (#6242) 2019-02-15 09:06:20 -08:00
config.go Add ability to migrate autoseal to autoseal (#5930) 2019-03-04 14:11:56 -08:00
config_test.go fixing command server tests (#6242) 2019-02-15 09:06:20 -08:00
listener.go Print warning when 'tls_cipher_suites' includes blacklisted cipher suites (#6300) 2019-03-01 16:48:06 +01:00
listener_tcp.go Vault Agent Cache (#6220) 2019-02-14 20:10:36 -05:00
listener_tcp_test.go go vet fixes 2018-02-05 14:26:31 -05:00
listener_test.go Add tests. This actually adds the initial tests for the TLS listener, 2016-03-11 14:05:52 -05:00