Docs: Update plugin info API docs (#17760)

This commit is contained in:
Tom Proctor
2022-11-02 20:03:17 +00:00
committed by GitHub
parent 7c9cb891e7
commit 64e0a2a938

View File

@@ -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