mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Add ability to provide env vars to plugins (#5359)
* Add ability to provide env vars to plugins * Update docs * Update docs with examples * Refactor TestAddTestPlugin, remove TestAddTestPluginTempDir
This commit is contained in:
committed by
GitHub
parent
abdf729924
commit
494b9a039c
@@ -89,7 +89,7 @@ func testConfig(t *testing.T) (*logical.BackendConfig, func()) {
|
||||
|
||||
os.Setenv(pluginutil.PluginCACertPEMEnv, cluster.CACertPEMFile)
|
||||
|
||||
vault.TestAddTestPlugin(t, core.Core, "mock-plugin", "TestBackend_PluginMain")
|
||||
vault.TestAddTestPlugin(t, core.Core, "mock-plugin", "TestBackend_PluginMain", []string{}, "")
|
||||
|
||||
return config, func() {
|
||||
cluster.Cleanup()
|
||||
|
||||
Reference in New Issue
Block a user