open-vault/sdk
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
..
database Check if plugin version matches running version (#17182) 2022-09-21 12:25:04 -07:00
framework
helper Check if plugin version matches running version (#17182) 2022-09-21 12:25:04 -07:00
logical Update protos to match update of protobuf go library (#17215) 2022-09-19 16:45:44 -04:00
physical
plugin Fixes concurrent map writes in GRPC plugin server setup (#17247) 2022-09-21 11:04:20 -07:00
queue
version Bump version in SDK to 1.13 for next major release (#17233) 2022-09-20 15:40:06 -04:00
go.mod
go.sum
README.md

Vault SDK libs

This package provides the sdk package which contains code useful for developing Vault plugins.

Although we try not to break functionality, we reserve the right to reorganize the code at will and may occasionally cause breaks if they are warranted. As such we expect the tag of this module will stay less than v1.0.0.

For any major changes we will try to give advance notice in the CHANGES section of Vault's CHANGELOG.md.