vault/api
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
..
auth update vault auth submodules to api/v1.10.0 (#22772) 2023-09-05 18:57:10 +00:00
test-fixtures 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
api_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
auth_token.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
client.go Work around issue with UNIX domain sockets in api.Client addresses (#22523) 2023-08-23 15:05:03 +00:00
client_test.go Fix client clone with headers deadlock (#22410) 2023-08-17 15:13:28 -04:00
go.mod Update go-jose dependency to 3.0.1 (#24226) 2023-11-21 13:36:58 -08:00
go.sum Update go-jose dependency to 3.0.1 (#24226) 2023-11-21 13:36:58 -08:00
help.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv.go docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
kv_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_v1.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
kv_v2.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
LICENSE [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
lifetime_watcher.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logical.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
output_policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
output_policy_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
output_string.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_helpers.go api/plugins: add tls-server-name arg for plugin registration (#23549) 2023-10-20 10:05:21 -04:00
plugin_runtime_types.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
plugin_types.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
README.md docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
renewer_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
replication_status.go OSS part of replication sys method (#20995) 2023-06-05 14:39:40 -07:00
request.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
response.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
secret.go VAULT-19237 Add mount_type to secret response (#23047) 2023-09-20 09:28:52 -04:00
secret_test.go Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
ssh.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ssh_agent.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
ssh_agent_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sudo_paths.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sudo_paths_test.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sys.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_auth.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_capabilities.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_config_cors.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_generate_root.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_hastatus.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_health.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_init.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_leader.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_leases.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_mfa.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_monitor.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_mounts.go Allow backends to extract credentials from payloads and trigger an authentication workflow (#23924) 2023-11-21 14:36:49 -05:00
sys_mounts_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_plugins.go add oci_image and runtime to VersionedPlugin (#22866) 2023-09-07 13:42:47 -07:00
sys_plugins_runtimes.go Support rootless plugin containers (#24236) 2023-11-28 14:07:07 +00:00
sys_plugins_runtimes_test.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sys_plugins_test.go Vault 18538 reference runtime on plugin register (#22744) 2023-09-06 23:37:10 -07:00
sys_policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_raft.go Add dr-token Flag to Autopilot CLI (#21165) 2023-07-27 15:35:25 +00:00
sys_rekey.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_rotate.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_seal.go Correct the post-unseal meaning of the seal status type (#23022) 2023-10-09 12:53:13 -05:00
sys_stepdown.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00

Vault API

This provides the github.com/hashicorp/vault/api package which contains code useful for interacting with a Vault server.

For examples of how to use this module, see the vault-examples repo. For a step-by-step walkthrough on using these client libraries, see the developer quickstart.

GoDoc