vault/command/agent
Christopher Swenson 961bf20bdb
Use enumer to generate String() methods for most enums (#25705)
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:
2024-04-17 11:14:14 -07:00
..
config add support for 'LeaseRenewalThreshold' in vault agent (#25212) 2024-02-26 15:49:31 -05:00
exec Use enumer to generate String() methods for most enums (#25705) 2024-04-17 11:14:14 -07:00
internal/ctmanager add support for 'LeaseRenewalThreshold' in vault agent (#25212) 2024-02-26 15:49:31 -05:00
template Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
test-fixtures/reload VAULT-9883: Agent Reloadable Config (#18638) 2023-01-10 17:45:34 +00:00
agent_auto_auth_self_heal_test.go Update Test_NoAutoAuthSelfHealing_BadPolicy (#26323) 2024-04-09 20:02:58 +00:00
alicloud_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
approle_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
auto_auth_preload_token_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
aws_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
cache_end_to_end_test.go VAULT-23742 Fix issue with use_auto_auth_token being always on (#26391) 2024-04-12 13:51:53 -04:00
cert_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
cf_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
doc.go [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
jwt_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
oci_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00
README.md docs: Update outdated vaultproject.io/docs/ links (#22162) 2023-08-15 12:59:34 -04:00
testing.go add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
token_file_end_to_end_test.go Agent Auto Auth Self Healing for Templates (#26172) 2024-03-27 10:06:45 -07:00

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: