vault/http
Vault Automation b6e3759673
PKI: Allow the HTTP post body to be reread for binary paths (#12290) (#12316)
* PKI: Allow the HTTP post body to be reread for binary paths

* Use a TeeReader to simplify the solution

* Add test and cl

* Apply suggestions from code review



* PR feedback

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2026-02-12 16:59:59 +00:00
..
priority license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
web_ui Make web_ui complient with Go's native embedding (#14246) 2022-02-24 09:12:36 -05:00
assets.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
assets_stub.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
auth_token_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
cors.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
custom_header_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
events_stubs_oss.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
forwarded_for_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
forwarding_bench_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
forwarding_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
handler.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
handler_stubs_oss.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
handler_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
help.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
help_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
http_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
logical.go PKI: Allow the HTTP post body to be reread for binary paths (#12290) (#12316) 2026-02-12 16:59:59 +00:00
logical_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
options.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
options_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
plugin_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_audit_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_auth_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_config_cors_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_config_state_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_feature_flags.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_generate_root.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_generate_root_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_health.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_health_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_hostinfo_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_in_flight_requests.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_in_flight_requests_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_init.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_init_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_internal_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_leader.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_leader_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_lease_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_metrics.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_metrics_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_monitor_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_mount_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_mounts_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_policy_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_raft.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_rekey.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_rekey_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_rotate_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_seal.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_seal_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
sys_wrapping_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
testing.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
unwrapping_raw_body_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
util.go VAULT-40506: Disable custom JSON limit parsing on ClusterListener (#10848) (#11075) 2025-12-12 17:23:36 -05:00
util_oss.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00