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

@ -81,6 +81,9 @@ relevant functionality is only supported in Vault Enterprise:
only. Local mounts are not replicated nor (if a secondary) removed by only. Local mounts are not replicated nor (if a secondary) removed by
replication. replication.
- `plugin_name` `(string: "")`  Specifies the name of the auth plugin to
use based from the name in the plugin catalog.
### Sample Payload ### Sample Payload
```json ```json

View file

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

View file

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