Hamid Ghaf
e55c18ed12
adding copyright header ( #19555 )
...
* adding copyright header
* fix fmt and a test
2023-03-15 09:00:52 -07:00
Nick Cabatoff
192baa88db
Make API not depend on SDK ( #18962 )
2023-02-06 09:41:56 -05:00
Tom Proctor
4dd8fc6ed5
Plugins: Add -version flag to 'vault plugin info' ( #17454 )
...
* Add -version flag to 'vault plugin info'
* Allow specifying a builtin tag when reading a single plugin from the catalog
2022-10-07 15:28:15 +01:00
Tom Proctor
d467681e15
cli/api: Update plugin listing to always include version info in the response ( #17347 )
2022-09-29 18:22:33 +01:00
Mike Palmiotto
63e6cc1d66
Add deprecation status to plugin api and cli ( #17077 )
...
* api: Add deprecation status to plugin endpoints
* cli: Add -detailed flag to `plugin list`
* docs: Update plugin list/info docs
2022-09-09 16:03:07 -04:00
Christopher Swenson
9d97decb26
Update mount table and CLI with plugin version for auth ( #16856 )
2022-08-31 19:23:05 +01:00
Tom Proctor
01fd2660ca
api: make ListPlugins parse only known plugin types ( #15434 )
2022-05-17 17:41:26 +01:00
Anton Averchenkov
0dd4cda7c9
Replace http method strings with net/http constants ( #14677 )
2022-03-24 13:58:03 -04:00
Anton Averchenkov
8234a663e7
Add context-aware functions to vault/api ( #14388 )
2022-03-23 17:47:43 -04:00
Brian Kassouf
a24653cc5c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Scott Miller
65dd5cfd27
Address feedback on Plugin Reload: OSS Side ( #9350 )
...
* just use an error string
* Switch command to use new struct
2020-06-30 16:26:38 -05:00
Scott Miller
0be92206d7
Fix wrong err return value in plugin reload status command ( #9348 )
...
* Fix wrong return value (discovered when merging to ENT)
* go.mod
* go mod vendor
* Add setup plugin reload hook
* All reloads return something now
2020-06-30 13:33:30 -05:00
Scott Miller
10ef01b1bf
Global Plugin Reload: OSS Changes Take II ( #9347 )
...
* Carefully move changes from the plugin-cluster-reload branch into this clean branch off master.
* Don't test this at this level, adequately covered in the api level tests
* Change PR link
* go.mod
* Vendoring
* Vendor api/sys_plugins.go
2020-06-30 10:26:52 -05:00
Scott Miller
d0bbb081c3
Revert global plugin reload commits ( #9344 )
...
* Revert "Some of the OSS changes were clobbered when merging with quotas out of, master (#9343 )"
This reverts commit 8719a9b7c4
.
* Revert "OSS side of Global Plugin Reload (#9340 )"
This reverts commit f98afb998a
.
2020-06-29 17:36:22 -05:00
Scott Miller
8719a9b7c4
Some of the OSS changes were clobbered when merging with quotas out of, master ( #9343 )
...
* OSS side of Global Plugin Reload
2020-06-29 16:58:51 -05:00
Scott Miller
f98afb998a
OSS side of Global Plugin Reload ( #9340 )
...
* OSS side of Global Plugin Reload
* changelog++
2020-06-29 16:23:28 -05:00
Vladimir Dimitrov
52cadd32d9
Added plugin reload function to api ( #8777 )
...
* Added plugin reload function to api
* Apply suggestions from code review
Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>
* go mod vendor
* addressing comments
* addressing comments
* add docs
Co-authored-by: Calvin Leung Huang <cleung2010@gmail.com>
2020-05-04 11:14:23 -07:00
Jeff Mitchell
170521481d
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
Jeff Mitchell
e644050e37
Fix a couple of instances where we are using LIST verb ( #6026 )
...
* Fix a couple of instances where we are using LIST verb
We specify it for the wrapping lookup function but for broader
compatibility with proxies and such we want to filter it to a GET. In a
couple of places we weren't doing that, so this updates those locations.
2019-01-10 19:57:00 -05:00
Jeff Mitchell
b701df4757
Update backwards compat fix from 5913
2018-12-12 15:36:28 -05:00
Nándor István Krácser
dbd195f895
Fix list plugins backward compatibility mechanism ( #5913 )
2018-12-12 15:33:09 -05:00
Calvin Leung Huang
1fddbc98ba
Revert deprecated plugin var names ( #5822 )
...
* Revert field back to ListPluginsResponse.Names
* Revert field back to MountConfig.PluginName and APIMountConfig.PluginName
2018-11-19 15:23:48 -08:00
Calvin Leung Huang
c6832a8099
Support registering plugin with name only ( #5787 )
...
* Support registering plugin with name only
* Make RegisterPlugin backwards compatible
* Add CLI backwards compat command to plugin info and deregister
* Add server-side deprecation warnings if old read/dereg API endpoints are called
* Address feedback
2018-11-15 14:33:11 -08:00
Becca Petrin
fb89af7cfa
Run all builtins as plugins ( #5536 )
2018-11-06 17:21:24 -08:00
Jeff Mitchell
0efaa97cfd
Add json tag to names response for sys_plugins
2018-08-09 18:02:03 -04:00
Brian Kassouf
4ca3b84f52
API: Add context to each raw request call ( #4987 )
2018-07-24 15:49:55 -07:00
Seth Vargo
c50881b274
Add plugin CLI for interacting with the plugin catalog ( #4911 )
...
* Add 'plugin list' command
* Add 'plugin register' command
* Add 'plugin deregister' command
* Use a shared plugin helper
* Add 'plugin read' command
* Rename to plugin info
* Add base plugin for help text
* Fix arg ordering
* Add docs
* Rearrange to alphabetize
* Fix arg ordering in example
* Don't use "sudo" in command description
2018-07-13 10:35:08 -07:00
Seth Vargo
34beea85fb
Add API functions and completions for plugins ( #4194 )
2018-03-26 13:40:33 -04:00