vault/api
Max Bowsher 3961d7b9cc
api: Separate two distinct areas of code that were interleaved in one file (#21906)
This is a code cleanup and addition of an explanatory comment. For some
reason, the code related to the CLI guessing whether a path requires
sudo, has been interleaved into plugin_helpers.go, which was previously
purely code used on the server side in the implementation of Vault
plugins.

This remedies that by dividing the sudo paths code to a separate file,
and adds a comment to plugin_helpers.go providing future readers with
information about the overall theme of the file.

No code has been changed - only moved and documented.
2023-07-18 12:20:34 +01:00
..
auth Update auth/api submodules to new API version (#20809) 2023-05-26 14:06:31 +00: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.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 Add support for cloning a Client's tls.Config (#21424) 2023-06-28 17:56:39 -04:00
client_test.go Add support for cloning a Client's tls.Config (#21424) 2023-06-28 17:56:39 -04: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.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
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: Separate two distinct areas of code that were interleaved in one file (#21906) 2023-07-18 12:20:34 +01:00
plugin_types.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
README.md Developer Quickstart docs improvements (#16199) 2022-06-30 08:50:35 -07: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-5094: Deal with identity_policies Set to nil in Secret Data Field (#20636) 2023-05-19 09:51:52 -04: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
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 api: Separate two distinct areas of code that were interleaved in one file (#21906) 2023-07-18 12:20:34 +01:00
sudo_paths_test.go api: Separate two distinct areas of code that were interleaved in one file (#21906) 2023-07-18 12:20:34 +01: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 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_plugins.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_plugins_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_raft.go adding copyright header (#19555) 2023-03-15 09:00:52 -07: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

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