Skip to content

Commit

Permalink
List additional sys paths as unauthenticated (#6654)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jim Kalafut authored and Brian Kassouf committed Jun 3, 2019
1 parent b1b212d commit 7db6f22
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vault/logical_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 7db6f22

Please sign in to comment.