vault/http/util_oss.go
Vault Automation 329dff0225
Backport Make generate-root and generate-operation-token endpoints authenticated by default into ce/main (#13544)
Also allow root tokens to be used in DR requests.

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2026-04-07 16:46:24 +00:00

27 lines
740 B
Go

// Copyright IBM Corp. 2016, 2025
// SPDX-License-Identifier: BUSL-1.1
//go:build !enterprise
package http
import (
"net/http"
"github.com/hashicorp/vault/sdk/logical"
"github.com/hashicorp/vault/vault"
"github.com/hashicorp/vault/vault/quotas"
)
func entWrapGenericHandler(core *vault.Core, in http.Handler, props *vault.HandlerProperties) http.Handler {
// Wrap the help wrapped handler with another layer with a generic
// handler
return wrapGenericHandler(core, in, props)
}
func entDROperationRoutes(mux *http.ServeMux, core *vault.Core) {}
func entAdjustResponse(core *vault.Core, w http.ResponseWriter, req *logical.Request) {
}
func entRlqRequestFields(core *vault.Core, r *http.Request, quotaReq *quotas.Request) {}