open-vault/command/agent/auth
tdsacilowski 887e77c2ae
Agent JWT auto auth remove_jwt_after_reading config option (#11969)
Add a new config option for Vault Agent's JWT auto auth
`remove_jwt_after_reading`, which defaults to true. Can stop
Agent from attempting to delete the file, which is useful in k8s
where the service account JWT is mounted as a read-only file
and so any attempt to delete it generates spammy error logs.

When leaving the JWT file in place, the read period for new
tokens is 1 minute instead of 500ms to reflect the assumption
that there will always be a file there, so finding a file does not
provide any signal that it needs to be re-read. Kubernetes
has a minimum TTL of 10 minutes for tokens, so a period of
1 minute gives Agent plenty of time to detect new tokens,
without leaving it too unresponsive. We may want to add a
config option to override these default periods in the future.

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
2022-07-25 07:42:09 -06:00
..
alicloud Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
approle Use WriteWithContext in auth helpers (#14775) 2022-04-06 11:20:34 -04:00
aws Move awsutil over to the go-secure-stdlib version (#12128) 2021-07-20 20:42:00 -04:00
azure agent/azure: adds ability to use specific user-assigned managed identities for auto auth (#14214) 2022-02-23 11:43:36 -08:00
cert reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
cf Add Kerberos auth agent (#7999) 2020-01-09 14:56:34 -08:00
gcp Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
jwt Agent JWT auto auth remove_jwt_after_reading config option (#11969) 2022-07-25 07:42:09 -06:00
kerberos Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
kubernetes command: deprecate errwrap.Wrapf() (#11744) 2021-06-02 09:22:31 -04:00
auth.go agent/auto-auth: Add min_backoff to set first backoff value (#15204) 2022-04-29 12:31:32 -04:00
auth_test.go agent/auto-auth: Add min_backoff to set first backoff value (#15204) 2022-04-29 12:31:32 -04:00