mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
We have many hand-written String() methods (and similar) for enums. These require more maintenance and are more error-prone than using automatically generated methods. In addition, the auto-generated versions can be more efficient. Here, we switch to using https://github.com/loggerhead/enumer, itself a fork of https://github.com/diegostamigni/enumer, no longer maintained, and a fork of the mostly standard tool https://pkg.go.dev/golang.org/x/tools/cmd/stringer. We use this fork of enumer for Go 1.20+ compatibility and because we require the `-transform` flag to be able to generate constants that match our current code base. Some enums were not targeted for this change: |
||
|---|---|---|
| .. | ||
| config | ||
| exec | ||
| internal/ctmanager | ||
| template | ||
| test-fixtures/reload | ||
| agent_auto_auth_self_heal_test.go | ||
| alicloud_end_to_end_test.go | ||
| approle_end_to_end_test.go | ||
| auto_auth_preload_token_end_to_end_test.go | ||
| aws_end_to_end_test.go | ||
| cache_end_to_end_test.go | ||
| cert_end_to_end_test.go | ||
| cf_end_to_end_test.go | ||
| doc.go | ||
| jwt_end_to_end_test.go | ||
| oci_end_to_end_test.go | ||
| README.md | ||
| testing.go | ||
| token_file_end_to_end_test.go | ||
Vault Agent
Vault Agent is a client daemon that provides Auth-Auth, Caching, and Template features.
Vault Agent provides a number of different helper features, specifically addressing the following challenges:
- Automatic authentication
- Secure delivery/storage of tokens
- Lifecycle management of these tokens (renewal & re-authentication)
See the usage documentation on the Vault website here: