mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-20 00:13:53 -05:00
* 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 |
||
|---|---|---|
| .. | ||
| auth_token_test.go | ||
| cors.go | ||
| forwarded_for_test.go | ||
| forwarding_bench_test.go | ||
| forwarding_test.go | ||
| handler.go | ||
| handler_test.go | ||
| help.go | ||
| help_test.go | ||
| http_test.go | ||
| logical.go | ||
| logical_test.go | ||
| plugin_test.go | ||
| stub_assets.go | ||
| sys_audit_test.go | ||
| sys_auth_test.go | ||
| sys_config_cors_test.go | ||
| sys_config_state_test.go | ||
| sys_generate_root.go | ||
| sys_generate_root_test.go | ||
| sys_health.go | ||
| sys_health_test.go | ||
| sys_hostinfo_test.go | ||
| sys_init.go | ||
| sys_init_test.go | ||
| sys_internal_test.go | ||
| sys_leader.go | ||
| sys_leader_test.go | ||
| sys_lease_test.go | ||
| sys_metrics.go | ||
| sys_metrics_test.go | ||
| sys_mount_test.go | ||
| sys_mounts_test.go | ||
| sys_policy_test.go | ||
| sys_raft.go | ||
| sys_rekey.go | ||
| sys_rekey_test.go | ||
| sys_rotate_test.go | ||
| sys_seal.go | ||
| sys_seal_test.go | ||
| sys_wrapping_test.go | ||
| testing.go | ||
| unwrapping_raw_body_test.go | ||
| util.go | ||