a44505dd06
* Native Login method, userpass and approle interfaces to implement it * Add AWS auth interface for Login, unexported struct fields for now * Add Kubernetes client login * Add changelog * Add a test for approle client login * Return errors from LoginOptions, use limited reader for secret ID * Fix auth comment length * Return actual type not interface, check for client token in tests * Require specification of secret ID location using SecretID struct as AppRole arg * Allow password from env, file, or plaintext * Add flexibility in how to fetch k8s service token, but still with default * Avoid passing strings that need to be validated by just having different login options * Try a couple real tests with approle and userpass login * Fix method name in comment * Add context to Login methods, remove comments about certain sources being inherently insecure * Perform read of secret ID at login time * Read password from file at login time * Pass context in integ tests * Read env var values in at login time, add extra tests * Update api version * Revert "Update api version" This reverts commit 1ef3949497dcf878c47e0e5ffcbc8cac1c3c1679. * Update api version in all go.mod files |
||
---|---|---|
.. | ||
auth | ||
test-fixtures | ||
README.md | ||
api_test.go | ||
auth.go | ||
auth_token.go | ||
client.go | ||
client_test.go | ||
go.mod | ||
go.sum | ||
help.go | ||
lifetime_watcher.go | ||
logical.go | ||
output_string.go | ||
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_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.