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 Update missing go-kms-wrapping v2 dep and address some ENT->OSS drift (#17178) 2022-09-19 10:23:40 -04:00
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 merkle sync undo logs (#17103) 2022-09-13 10:03:19 -07:00
plugin Fixes concurrent map writes in GRPC plugin server setup (#17247) 2022-09-21 11:04:20 -07:00
queue sdk/queue: move lock before checking queue length (#13146) 2021-11-29 14:54:00 -05:00
version Bump version in SDK to 1.13 for next major release (#17233) 2022-09-20 15:40:06 -04:00
README.md Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
go.mod Update missing go-kms-wrapping v2 dep and address some ENT->OSS drift (#17178) 2022-09-19 10:23:40 -04:00
go.sum Update missing go-kms-wrapping v2 dep and address some ENT->OSS drift (#17178) 2022-09-19 10:23:40 -04:00

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.