Fix plugin docs (#3185)

* Fix plugin docs

* Add plugin_name to auth endpoint
This commit is contained in:
Calvin Leung Huang 2017-08-16 12:36:46 -04:00 committed by GitHub
parent 8a168cd0a0
commit ae75e39c44
3 changed files with 7 additions and 3 deletions

View File

@ -74,13 +74,16 @@ For example, mounting the "foo" auth backend will make it accessible at
- `type` `(string: <required>)`  Specifies the name of the authentication
backend type, such as "github" or "token".
Additionally, the following options are allowed in Vault open-source, but
Additionally, the following options are allowed in Vault open-source, but
relevant functionality is only supported in Vault Enterprise:
- `local` `(bool: false)` Specifies if the auth backend is a local mount
- `local` `(bool: false)` Specifies if the auth backend is a local mount
only. Local mounts are not replicated nor (if a secondary) removed by
replication.
- `plugin_name` `(string: "")`  Specifies the name of the auth plugin to
use based from the name in the plugin catalog.
### Sample Payload
```json

View File

@ -79,6 +79,7 @@ This endpoint mounts a new secret backend at the given path.
- `default_lease_ttl`
- `max_lease_ttl`
- `force_no_cache`
- `plugin_name`
These control the default and maximum lease time-to-live, and force
disabling backend caching respectively. If set on a specific mount, this

View File

@ -43,5 +43,5 @@ This endpoint reloads mounted plugin backends.
$ curl \
--header "X-Vault-Token: ..." \
--request PUT
https://vault.rocks/v1/sys/backends/reload
https://vault.rocks/v1/sys/plugins/backend/reload
```