open-vault/api
Alex Dadgar 6a824383b6 Don't swallow logical.Unwrap error (#4258)
This PR fixes the error handling in the api packages logical.Unwrap
method. Previously if there was an error making the request to Vault,
the error was only returned if there was an HTTP response and the status
code was not a 404.

The new code returns all errors but does special case handling if the
response code is a 404.
2018-04-03 17:11:01 -04:00
..
test-fixtures moved the test cert keys to appropriate test-fixtures folder 2016-02-29 15:49:08 -05:00
api_integration_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -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 Use RenewTokenAsSelf instead 2017-07-07 17:14:44 -04:00
client.go Don't allow non-printable characters in the API client's token (#3841) 2018-01-24 19:57:49 -05:00
client_test.go Don't allow non-printable characters in the API client's token (#3841) 2018-01-24 19:57:49 -05:00
help.go command/help 2015-04-02 22:42:05 -07:00
logical.go Don't swallow logical.Unwrap error (#4258) 2018-04-03 17:11:01 -04:00
renewer.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
renewer_integration_test.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
renewer_test.go Update lease renewer logic (#4090) 2018-03-19 15:48:24 -04:00
request.go More syncing 2017-10-23 16:52:56 -04:00
request_test.go api: Allow reseting of request body 2015-04-20 10:44:51 -07:00
response.go api: Don't treat 429 as error (#2850) 2017-06-12 18:31:36 -04:00
secret.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
secret_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
ssh.go Add SignKey endpoint for SSH API client 2017-08-18 12:59:08 -04:00
ssh_agent.go allow a TLS server name to be configured for SSH agents (#1720) 2016-08-23 22:06:56 -04:00
ssh_agent_test.go Fix breakage for HTTP2 support due to changes in wrapping introduced in 1.8 (#2412) 2017-02-27 12:49:35 -05:00
sys.go api: separate sys out further 2015-03-11 17:46:41 -05:00
sys_audit.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
sys_auth.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
sys_capabilities.go Restore compatibility with pre-0.6.1 servers for CLI/Go API calls 2016-08-14 14:52:45 -04:00
sys_config_cors.go Cors headers (#2021) 2017-06-17 00:04:55 -04:00
sys_generate_root.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
sys_health.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_init.go Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
sys_leader.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_leases.go moving client calls to new endpoint (#2867) 2017-07-25 11:58:33 -04:00
sys_mounts.go Remove unnecessary Options field in MountConfigOutput 2018-03-22 00:05:19 -04:00
sys_plugins.go Add API functions and completions for plugins (#4194) 2018-03-26 13:40:33 -04:00
sys_policy.go More syncing 2017-10-23 16:52:56 -04:00
sys_rekey.go CLI Enhancements (#3897) 2018-02-12 18:12:16 -05:00
sys_rotate.go Restore compatibility with pre-0.6.1 servers for CLI/Go API calls 2016-08-14 14:52:45 -04:00
sys_seal.go adding recovery info to seal status (#3706) 2017-12-18 09:58:14 -05:00
sys_stepdown.go Provide 'sys/step-down' and 'vault step-down' 2016-02-26 19:43:55 -05:00