Upgrade SDK to v0.15.2 for Vault 1.19.0 compatibility#142
Open
LukasCuperDT wants to merge 1 commit into
Open
Conversation
- Upgrade hashicorp/vault/sdk from v0.3.0 to v0.15.2 - Upgrade hashicorp/go-plugin to v1.6.1 (matching Vault 1.19.0) - Add ExistenceCheck to rotate-root and static-creds paths (required by Vault 1.19.0 SDK for write operations on paths with CreateOperation) - Simplify main.go: remove deprecated PluginAPIClientMeta/TLSProvider in favor of plugin.Serve with Logger (new SDK pattern) - Update Go toolchain to go1.23.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the Vault SDK and related dependencies to support Vault 1.19.0.
Changes
hashicorp/vault/sdkfrom v0.3.0 to v0.15.2hashicorp/go-pluginto v1.6.1 (matching Vault 1.19.0 internals)ExistenceCheckto rotate-root and static-creds paths (required by Vault 1.19.0 SDK for write operations on paths withCreateOperation)main.go: remove deprecatedPluginAPIClientMeta/TLSProviderin favor ofplugin.Servewith Logger (new SDK pattern)Motivation
Without the
ExistenceCheckfix, the plugin fails on Vault 1.19.0 with:The new SDK requires
ExistenceCheckon paths that defineCreateOperationto distinguish create vs update.Testing