Adding SealWrap configuration, protecting the config/access path
Signed-off-by: Nicolas Corrarello <nicolas@corrarello.com>
This commit is contained in:
parent
7b14f41872
commit
b5fd1ce953
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue