open-vault/api
vinay-gopalan 458927c2ed
[VAULT-3157] Move mergeStates utils from Agent to api module (#12731)
* move merge and compare states to vault core

* move MergeState, CompareStates and ParseRequiredStates to api package

* fix merge state reference in API Proxy

* move mergeStates test to api package

* add changelog

* ghost commit to trigger CI

* rename CompareStates to CompareReplicationStates

* rename MergeStates and make compareStates and parseStates private methods

* improved error messaging in parseReplicationState

* export ParseReplicationState for enterprise files
2021-10-06 10:57:06 -07:00
..
test-fixtures Add More TLS Tests and Verification of TLS Root Certificate (#11300) 2021-04-12 08:39:40 -07:00
api_test.go Redo API locking (#3508) 2017-11-02 09:30:04 -05:00
auth.go Remove RevokePrefix from the API too as we simply do not support it any 2016-04-05 11:00:12 -04:00
auth_token.go Add ability to renew by accessor (#7817) 2019-11-08 11:32:01 -05:00
client.go [VAULT-3157] Move mergeStates utils from Agent to api module (#12731) 2021-10-06 10:57:06 -07:00
client_test.go [VAULT-3157] Move mergeStates utils from Agent to api module (#12731) 2021-10-06 10:57:06 -07:00
go.mod Move awsutil over to the go-secure-stdlib version (#12128) 2021-07-20 20:42:00 -04:00
go.sum [VAULT-3248] Check api and sdk dirs in go_test (#12630) 2021-09-27 13:49:10 -07: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 api: return parse errors if any for storage endpoints (#12338) 2021-08-17 13:19:39 -04:00
output_string.go Support tls-skip-verify for output-curl-string (#11713) 2021-06-14 11:09:29 -04:00
plugin_helpers.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
README.md Add links to vault-examples repo (#12740) 2021-10-05 10:15:01 -07: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
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_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 oss changes for entropy augmentation feature (#7670) 2019-10-17 10:33:00 -07: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 code to api.RaftSnapshot to detect incomplete snapshots (#12388) 2021-09-07 11:16:37 -04: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

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