open-vault/sdk/helper/pluginutil
Christopher Swenson 2c8e88ab67
Check if plugin version matches running version (#17182)
Check if plugin version matches running version

When registering a plugin, we check if the request version matches the
self-reported version from the plugin. If these do not match, we log a
warning.

This uncovered a few missing pieces for getting the database version
code fully working.

We added an environment variable that helps us unit test the running
version behavior as well, but only for approle, postgresql, and consul
plugins.

Return 400 on plugin not found or version mismatch

Populate the running SHA256 of plugins in the mount and auth tables (#17217)
2022-09-21 12:25:04 -07:00
..
env.go Multiplexing opt out flag (#16972) 2022-09-08 11:32:46 -04:00
env_test.go
multiplexing.go Check if plugin version matches running version (#17182) 2022-09-21 12:25:04 -07:00
multiplexing.pb.go Update protos to match update of protobuf go library (#17215) 2022-09-19 16:45:44 -04:00
multiplexing.proto
multiplexing_grpc.pb.go
multiplexing_test.go Multiplexing opt out flag (#16972) 2022-09-08 11:32:46 -04:00
run_config.go feature: secrets/auth plugin multiplexing (#14946) 2022-08-29 21:42:26 -05:00
run_config_test.go feature: secrets/auth plugin multiplexing (#14946) 2022-08-29 21:42:26 -05:00
runner.go Add deprecation status to plugin api and cli (#17077) 2022-09-09 16:03:07 -04:00
tls.go