Adding SealWrap configuration, protecting the config/access path

Signed-off-by: Nicolas Corrarello <nicolas@corrarello.com>
This commit is contained in:
Nicolas Corrarello 2017-11-29 21:53:21 +00:00
parent 7b14f41872
commit b5fd1ce953
No known key found for this signature in database
GPG key ID: 6FD0D0E272A30401

View file

@ -17,6 +17,12 @@ func Factory(conf *logical.BackendConfig) (logical.Backend, error) {
func Backend() *backend {
var b backend
b.Backend = &framework.Backend{
PathsSpecial: &logical.Paths{
SealWrapStorage: []string{
"config/access",
},
},
Paths: []*framework.Path{
pathConfigAccess(&b),
pathConfigLease(&b),