From 46f76fb5a09bad2b6d3b2dffc66c7c308fc05e3b Mon Sep 17 00:00:00 2001 From: Jim Kalafut Date: Mon, 29 Apr 2019 13:25:32 -0700 Subject: [PATCH] List additional sys paths as unauthenticated These paths are handled directly in handler.go, but the list of special paths here impacts the x-vault-unauthenticated field in generated OpenAPI. Fixes: #6651 --- vault/logical_system.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vault/logical_system.go b/vault/logical_system.go index a0749b441c2d..9053c154ca2b 100644 --- a/vault/logical_system.go +++ b/vault/logical_system.go @@ -121,6 +121,19 @@ func NewSystemBackend(core *Core, logger log.Logger) *SystemBackend { "replication/dr/secondary/operation-token/delete", "replication/dr/secondary/license", "replication/dr/secondary/reindex", + "init", + "seal-status", + "unseal", + "leader", + "health", + "generate-root/attempt", + "generate-root/update", + "rekey/init", + "rekey/update", + "rekey/verify", + "rekey-recovery-key/init", + "rekey-recovery-key/update", + "rekey-recovery-key/verify", }, LocalStorage: []string{