Skip to content

Upgrade SDK to v0.15.2 for Vault 1.19.0 compatibility#142

Open
LukasCuperDT wants to merge 1 commit into
mainfrom
fix/sdk-upgrade-for-vault-1.19
Open

Upgrade SDK to v0.15.2 for Vault 1.19.0 compatibility#142
LukasCuperDT wants to merge 1 commit into
mainfrom
fix/sdk-upgrade-for-vault-1.19

Conversation

@LukasCuperDT
Copy link
Copy Markdown

Summary

Upgrades the Vault SDK and related dependencies to support Vault 1.19.0.

Changes

  • 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 internals)
  • 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

Motivation

Without the ExistenceCheck fix, the plugin fails on Vault 1.19.0 with:

rpc error: code = Unimplemented desc = unknown service

The new SDK requires ExistenceCheck on paths that define CreateOperation to distinguish create vs update.

Testing

  • Built and deployed on Vault 1.19.0 (otcinfra2 cluster)
  • Successfully registered, enabled, and configured openstack secrets engine
  • Cloud and role configuration verified working

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant