open-vault/api
Alexander Scheel 705439885d
Remove deprecated call to BuildNameToCertificate (#13811)
This function call was previously used to generate mappings from
potential subjects (or SANs) to certificates within the TLS client
object. However, newer Go versions have deprecated this method, instead
building the mapping automatically based on present certificates at
request time. Because the corresponding client configuration field is
not used in Vault (NameToCertificate), it is safe to remove this call
and leave it nil.

See also: 67d894ee65
See also: https://pkg.go.dev/crypto/tls#Config.BuildNameToCertificate

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
2022-01-27 14:56:21 -05:00
..
auth reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
test-fixtures Add More TLS Tests and Verification of TLS Root Certificate (#11300) 2021-04-12 08:39:40 -07:00
README.md Update example code links, remove unneeded comments (#13491) 2021-12-22 09:33:12 -08:00
api_test.go Add HTTP PATCH support to KV (#12687) 2021-10-13 15:24:31 -04:00
auth.go Native Login method for Go client (#12796) 2021-10-26 16:48:48 -07:00
auth_token.go Fixed null token panic from 'v1/auth/token/' endpoints and returned p… (#13233) 2021-12-21 09:46:56 -08:00
client.go Add support for client certificates to -output-curl-string (#13660) 2022-01-20 10:25:26 -08:00
client_test.go Add ability to optionally clone a Client's token (#13515) 2021-12-22 17:07:26 -05:00
go.mod Add helper for encoding/decoding root tokens and OTP generation in SDK module (#10504) (#10505) 2021-12-01 08:05:49 -05:00
go.sum Add helper for encoding/decoding root tokens and OTP generation in SDK module (#10504) (#10505) 2021-12-01 08:05:49 -05:00
help.go Add a deprecated helper to tokenutil and JSON output to path-help (#7006) 2019-06-27 12:56:31 -04:00
lifetime_watcher.go [MAR-3131] Set grace to 0 on non-positive lease duration (#12372) 2021-08-24 19:06:40 -07:00
logical.go Allowing Unwrap w/ Newline files (#13044) 2021-11-24 10:13:45 -08:00
output_string.go Add support for client certificates to -output-curl-string (#13660) 2022-01-20 10:25:26 -08:00
plugin_helpers.go Remove deprecated call to BuildNameToCertificate (#13811) 2022-01-27 14:56:21 -05:00
renewer_test.go [MAR-3131] Set grace to 0 on non-positive lease duration (#12372) 2021-08-24 19:06:40 -07:00
request.go Fix SRV Lookups (#8520) 2020-03-11 14:22:58 +01:00
request_test.go Clean up request logic and use retryable's more efficient handling (#4670) 2018-06-01 09:12:43 -04:00
response.go VAULT-1303 when a request to vault fails, show namespace if set (#12196) 2021-07-30 12:32:05 -04:00
secret.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
ssh.go API: Add context to each raw request call (#4987) 2018-07-24 15:49:55 -07:00
ssh_agent.go Add namespace parameter to ssh helper config (#9160) 2020-06-08 08:16:03 -07:00
ssh_agent_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys.go api: separate sys out further 2015-03-11 17:46:41 -05:00
sys_audit.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_auth.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_capabilities.go Possibly fix Nomad capabilities issue (#5360) 2018-09-19 13:06:37 -04:00
sys_config_cors.go Add AllowedHeader and fix AllowedOrigins in the API (#10482) 2020-12-03 14:31:25 +01:00
sys_generate_root.go Recovery Mode (#7559) 2019-10-15 00:55:31 -04:00
sys_hastatus.go Add "operator members" command to list nodes in the cluster. (#13292) 2021-11-30 14:49:58 -05:00
sys_health.go Add missing performance_standby field to API 2019-01-17 18:15:00 -05:00
sys_init.go API: Add context to each raw request call (#4987) 2018-07-24 15:49:55 -07:00
sys_leader.go core: Record the time a node became active (#10489) 2020-12-11 16:50:19 -08:00
sys_leases.go Add command to look up a lease by ID (#11129) 2021-03-18 11:11:09 -05:00
sys_monitor.go Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
sys_mounts.go Add a new parameter "allowed_managed_keys" to mount config (#13202) 2021-11-21 19:08:38 -06:00
sys_plugins.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_policy.go Fix a couple of instances where we are using LIST verb (#6026) 2019-01-10 19:57:00 -05:00
sys_raft.go Add PutAutoPilotRaftConfiguration to api (#12428) 2021-11-10 12:10:15 -05:00
sys_rekey.go Fixed wrong rekey recovery backup client API URL (#6841) 2019-06-11 10:05:44 +02:00
sys_rotate.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
sys_seal.go expose 'storage_type' on the sys/seal-status endpoint (#7486) 2019-09-18 14:07:18 -05:00
sys_stepdown.go Fix stepdown body closing 2018-08-04 11:50:29 -04:00

README.md

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.

GoDoc