vault/sdk
Tom Proctor 030bba4e68
Support rootless plugin containers (#24236)
* Pulls in github.com/go-secure-stdlib/plugincontainer@v0.3.0 which exposes a new `Config.Rootless` option to opt in to extra container configuration options that allow establishing communication with a non-root plugin within a rootless container runtime.
* Adds a new "rootless" option for plugin runtimes, so Vault needs to be explicitly told whether the container runtime on the machine is rootless or not. It defaults to false as rootless installs are not the default.
* Updates `run_config.go` to use the new option when the plugin runtime is rootless.
* Adds new `-rootless` flag to `vault plugin runtime register`, and `rootless` API option to the register API.
* Adds rootless Docker installation to CI to support tests for the new functionality.
* Minor test refactor to minimise the number of test Vault cores that need to be made for the external plugin container tests.
* Documentation for the new rootless configuration and the new (reduced) set of restrictions for plugin containers.
* As well as adding rootless support, we've decided to drop explicit support for podman for now, but there's no barrier other than support burden to adding it back again in future so it will depend on demand.
2023-11-28 14:07:07 +00:00
..
database Improve Robustness of Custom Context Values Types (#23697) 2023-10-18 09:30:00 -04:00
framework events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
helper Support rootless plugin containers (#24236) 2023-11-28 14:07:07 +00:00
logical Allow backends to extract credentials from payloads and trigger an authentication workflow (#23924) 2023-11-21 14:36:49 -05:00
physical Prevent split-brain active node writes when using Consul (#23013) 2023-09-22 16:16:01 +01:00
plugin Add support for plugins to specify binary request paths (#23729) 2023-10-23 17:04:42 -04:00
queue adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
.copywrite.hcl Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
go.mod Support rootless plugin containers (#24236) 2023-11-28 14:07:07 +00:00
go.sum Support rootless plugin containers (#24236) 2023-11-28 14:07:07 +00:00
LICENSE [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
README.md Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00

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.