vault/api
Steven Clark 9456671f04
Prepare code base for Go 1.24 update. (#29412)
* Fix "t.Fatal from a non-test goroutine" errors in cache_test.go

 - t.Fatal(f) should not be called within a Go routine based on it's documentation and only from the main test's thread.
 - In 1.24 this seems to cause build failures

* Address all "non-constant format string errors" from go vet

 - Within 1.24 these now cause test builds to fail

…" from go vet
2025-01-27 14:34:07 -05:00
..
auth Update go/x/net and go/x/crypto to latest versions throughout (#29422) 2025-01-27 10:47:40 -05:00
cliconfig Move CLI token helper to api module (#25744) 2024-03-04 18:29:20 +00:00
test-fixtures adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
tokenhelper Move CLI token helper to api module (#25744) 2024-03-04 18:29:20 +00:00
.copywrite.hcl [DO NOT MERGE UNTIL EOY] update year in LICENSE and copywrite files (#24368) 2024-01-02 13:22:15 -08: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 Specify headers by environment variable (#21993) 2024-06-19 16:51:24 -04:00
client.go explain how -output-curl-string works in comments to avoid confusion (#28576) 2024-10-04 11:14:21 -07:00
go.mod Update go/x/net and go/x/crypto to latest versions throughout (#29422) 2025-01-27 10:47:40 -05:00
go.sum Update go/x/net and go/x/crypto to latest versions throughout (#29422) 2025-01-27 10:47:40 -05: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 Bump backoff/v3 to backoff/v4 (#26868) 2024-05-29 12:04:46 -04:00
logical.go Add WriteRaw to client api and new PKI test helper (#24818) 2024-01-11 13:51:42 -05: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 explain how -output-curl-string works in comments to avoid confusion (#28576) 2024-10-04 11:14:21 -07:00
plugin_helpers.go Upgrade api package go-jose to v4 (#26527) 2024-04-19 12:17:41 +01:00
plugin_runtime_types.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
plugin_types_test.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
plugin_types.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
pluginruntimetype_enumer.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
README.md docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
renewbehavior_enumer.go Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
renewer_test.go VAULT-25341 Address issue where having no permissions to renew caused auto-auth to attempt to renew with no backoff (#26844) 2024-05-09 11:12:42 -04:00
replication_status.go CE part of https://github.com/hashicorp/vault-enterprise/pull/4269 (#26406) 2024-04-15 20:08:57 +00:00
request_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
request.go chore: fix deprecated ioutil nopcloser (#27650) 2024-07-03 13:38:34 -04:00
response.go chore: fix deprecated ioutil nopcloser (#27650) 2024-07-03 13:38:34 -04:00
secret_test.go Relplat 897 copywrite fixes for mutliple licenses (#23722) 2023-10-20 08:40:43 -07:00
secret.go Prepare code base for Go 1.24 update. (#29412) 2025-01-27 14:34:07 -05: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 non-root access with filtering support to activity export API (#27846) 2024-07-24 09:21:52 -04:00
sys_audit.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_auth.go api: do not require sudo for GetAuth wrapper (#25968) 2024-03-15 14:40:22 -07:00
sys_capabilities.go Command: token capabilities using accessor (#24479) 2023-12-13 11:15:21 -05: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 CE part of https://github.com/hashicorp/vault-enterprise/pull/4269 (#26406) 2024-04-15 20:08:57 +00:00
sys_health.go VAULT-31755: Add removed and HA health to the sys/health endpoint (#28991) 2024-12-04 11:09:10 +01: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 Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
sys_plugins_runtimes_test.go add plugin runtime API (#22469) 2023-08-31 13:37:04 -07:00
sys_plugins_runtimes.go Support rootless plugin containers (#24236) 2023-11-28 14:07:07 +00:00
sys_plugins_test.go Vault 18538 reference runtime on plugin register (#22744) 2023-09-06 23:37:10 -07:00
sys_plugins.go New root namespace plugin reload API sys/plugins/reload/:type/:name (#24878) 2024-01-17 15:46:27 +00:00
sys_policy.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_raft.go chore: fix deprecated ioutil readall (#27823) 2024-07-30 09:18:24 -04: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 VAULT-31751, VAULT-31752: removed_from_cluster in vault status (#28938) 2024-11-19 11:13:10 +01:00
sys_stepdown.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
sys_ui_custom_message_test.go VAULT-22504: Support Custom Messages in api Package (#24959) 2024-01-23 13:20:58 -05:00
sys_ui_custom_message.go VAULT-22504: Support Custom Messages in api Package (#24959) 2024-01-23 13:20:58 -05: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