vault/physical
Vishal Nayak 2f4ae7f215
Recovery Mode (#7559)
* Initial work

* rework

* s/dr/recovery

* Add sys/raw support to recovery mode (#7577)

* Factor the raw paths out so they can be run with a SystemBackend.

# Conflicts:
#	vault/logical_system.go

* Add handleLogicalRecovery which is like handleLogical but is only
sufficient for use with the sys-raw endpoint in recovery mode.  No
authentication is done yet.

* Integrate with recovery-mode.  We now handle unauthenticated sys/raw
requests, albeit on path v1/raw instead v1/sys/raw.

* Use sys/raw instead raw during recovery.

* Don't bother persisting the recovery token.  Authenticate sys/raw
requests with it.

* RecoveryMode: Support generate-root for autounseals (#7591)

* Recovery: Abstract config creation and log settings

* Recovery mode integration test. (#7600)

* Recovery: Touch up (#7607)

* Recovery: Touch up

* revert the raw backend creation changes

* Added recovery operation token prefix

* Move RawBackend to its own file

* Update API path and hit it using CLI flag on generate-root

* Fix a panic triggered when handling a request that yields a nil response. (#7618)

* Improve integ test to actually make changes while in recovery mode and
verify they're still there after coming back in regular mode.

* Refuse to allow a second recovery token to be generated.

* Resize raft cluster to size 1 and start as leader (#7626)

* RecoveryMode: Setup raft cluster post unseal (#7635)

* Setup raft cluster post unseal in recovery mode

* Remove marking as unsealed as its not needed

* Address review comments

* Accept only one seal config in recovery mode as there is no scope for migration
2019-10-15 00:55:31 -04:00
..
alicloudoss Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
azure Add config parameter to Azure storage backend to allow specifying the ARM endpoint to support Azure Stack. (#7567) 2019-10-08 08:51:36 -07:00
cassandra Store less data in Cassandra prefix buckets (#7199) 2019-08-19 11:50:00 -07:00
cockroachdb Merge multiple functions for creating consul containers into one. (#6612) 2019-04-22 12:26:10 -04:00
consul Be more permissive in what URLs to allow; added test for unix socket. (#6859) 2019-06-10 13:59:13 -05:00
couchdb plugging file descriptor leak in couchdb backend (#7345) 2019-08-21 12:23:20 -07:00
dynamodb Use a much longer delay before giving up and failing the test. (#7646) 2019-10-14 11:06:02 -04:00
etcd Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
foundationdb Call goimports as well as gofmt when doing a make fmt (#7148) 2019-07-18 21:04:56 -04:00
gcs Set chunkSize when creating a new GCS backend (#6655) 2019-05-03 13:08:29 -07:00
manta Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
mssql Fix gofmt (#6764) 2019-05-20 15:15:05 -07:00
mysql Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
oci Added OCI Object Storage Plugin (#6985) 2019-09-04 11:33:16 -07:00
postgresql Set MaxIdleConns to reduce connection churn (postgresql physical) (#6967) 2019-07-02 15:03:56 -07:00
raft Recovery Mode (#7559) 2019-10-15 00:55:31 -04:00
s3 Added s3 storage path parameter (#7157) 2019-07-24 12:48:26 -04:00
spanner Move useragent to sdk 2019-04-12 18:17:49 -04:00
swift Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
zookeeper Move ldaputil and tlsutil over to sdk 2019-04-12 18:26:54 -04:00