open-vault/api
Rémi Lapeyre fb4b85d921
Add support for client certificates to -output-curl-string (#13660)
* Add support for client certificates to -output-curl-string

I did not write tests for this feature as -output-curl-string was not
already tested and this is a simple change. Because the name of the
certificates would be lost once loaded I added fields to Config to keep
track of them. I did not add a public method for the user to set them
explicitely as I don't think anyone would need this functionnality
outside of the Vault CLI.

Closes https://github.com/hashicorp/vault/issues/13376

* Add changelog

* Add lock in ConfigureTLS
2022-01-20 10:25:26 -08:00
..
auth update vault and auth submodules to api v1.3.1 (#13509) 2021-12-23 09:45:30 -08:00
test-fixtures
README.md Update example code links, remove unneeded comments (#13491) 2021-12-22 09:33:12 -08:00
api_test.go
auth.go
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
lifetime_watcher.go
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
renewer_test.go
request.go
request_test.go
response.go
secret.go
ssh.go
ssh_agent.go
ssh_agent_test.go
sys.go
sys_audit.go
sys_auth.go
sys_capabilities.go
sys_config_cors.go
sys_generate_root.go
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
sys_init.go
sys_leader.go
sys_leases.go
sys_monitor.go
sys_mounts.go
sys_plugins.go
sys_policy.go
sys_raft.go
sys_rekey.go
sys_rotate.go
sys_seal.go
sys_stepdown.go

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