List additional sys paths as unauthenticated (#6654)

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
This commit is contained in:
Jim Kalafut 2019-04-29 16:42:23 -07:00 committed by GitHub
parent e42e6d4ee3
commit eb8ea30ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -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{