Update path for the plugin catalog in logical system

This commit is contained in:
Brian Kassouf 2017-04-24 11:35:32 -07:00
parent 6c8239ba03
commit c4e2ad74c5
1 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ func NewSystemBackend(core *Core, config *logical.BackendConfig) (logical.Backen
"replication/reindex",
"rotate",
"config/auditing/*",
"plugin-catalog/*",
"plugins/catalog/*",
},
Unauthenticated: []string{
@ -694,7 +694,7 @@ func NewSystemBackend(core *Core, config *logical.BackendConfig) (logical.Backen
HelpDescription: strings.TrimSpace(sysHelp["audited-headers"][1]),
},
&framework.Path{
Pattern: "plugin-catalog/$",
Pattern: "plugins/catalog/$",
Fields: map[string]*framework.FieldSchema{},
@ -706,7 +706,7 @@ func NewSystemBackend(core *Core, config *logical.BackendConfig) (logical.Backen
HelpDescription: strings.TrimSpace(sysHelp["plugin-catalog"][1]),
},
&framework.Path{
Pattern: "plugin-catalog/(?P<name>.+)",
Pattern: "plugins/catalog/(?P<name>.+)",
Fields: map[string]*framework.FieldSchema{
"name": &framework.FieldSchema{
@ -2525,7 +2525,7 @@ This path responds to the following HTTP methods.
"Lists the headers configured to be audited.",
`Returns a list of headers that have been configured to be audited.`,
},
"plugin-catalog": {
"plugins/catalog": {
`Configures the plugins known to vault`,
`
This path responds to the following HTTP methods.