mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
Docs: Update plugin info API docs (#17760)
This commit is contained in:
@@ -192,7 +192,8 @@ This endpoint returns the configuration data for the plugin with the given name.
|
||||
- `type` `(string: <required>)` – Specifies the type of this plugin. May be
|
||||
"auth", "database", or "secret".
|
||||
|
||||
- `version` `(string: "")` – The semantic version of the plugin to read.
|
||||
- `version` `(string: "")` – The semantic version of the plugin to read. Required
|
||||
if the plugin was registered with a version.
|
||||
|
||||
### Sample Request
|
||||
|
||||
@@ -200,7 +201,7 @@ This endpoint returns the configuration data for the plugin with the given name.
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--request GET \
|
||||
http://127.0.0.1:8200/v1/sys/plugins/catalog/secret/example-plugin
|
||||
http://127.0.0.1:8200/v1/sys/plugins/catalog/secret/example-plugin?version=v1.0.0
|
||||
```
|
||||
|
||||
### Sample Response
|
||||
|
||||
Reference in New Issue
Block a user