vault/api
Tom Proctor 07e76196ba
Support running plugins in isolated containers (#22712)
Implements running plugins in containers to give them some degree
of isolation from the main Vault process and other plugins. It only
supports running on Linux initially, where it is easiest to manage unix
socket communication across the container boundary.

Additionally

* Adds -env arg to vault plugin register.
* Don't return env from 'vault plugin info'

Historically it's been omitted, and it could conceivably have secret information in
it, so if we want to return it in the response, it should probably only be via explicit
opt-in. Skipping for now though as it's not the main purpose of the commit.
2023-09-01 17:55:17 +00:00
..
auth docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
test-fixtures adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
api_test.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
auth.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
client_test.go Fix client clone with headers deadlock (#22410) 2023-08-17 15:13:28 -04:00
client.go Work around issue with UNIX domain sockets in api.Client addresses (#22523) 2023-08-23 15:05:03 +00:00
go.mod Upgrade go-jose library to v3 (#20559) 2023-05-23 12:25:58 +00:00
go.sum Upgrade go-jose library to v3 (#20559) 2023-05-23 12:25:58 +00:00
help.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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
kv.go docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04: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_test.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_string.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_helpers.go api: Separate two distinct areas of code that were interleaved in one file (#21906) 2023-07-18 12:20:34 +01: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_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request.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_test.go VAULT-5094: Deal with identity_policies Set to nil in Secret Data Field (#20636) 2023-05-19 09:51:52 -04:00
secret.go VAULT-5094: Deal with identity_policies Set to nil in Secret Data Field (#20636) 2023-05-19 09:51:52 -04:00
ssh_agent_test.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.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sudo_paths_test.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sudo_paths.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -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_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_mounts.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_plugins_runtimes_test.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sys_plugins_runtimes.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sys_plugins_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_plugins.go Support running plugins in isolated containers (#22712) 2023-09-01 17:55:17 +00: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 adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_stepdown.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys.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