I was wondering about the update interval with the vault agent on linux.
I am new to vault so I am not fully versed with the inner workings.
What i am trying to achieve is a 30 second interval check for changes. I tried uploading the secrets with a TTl of default_ttl=“30s” max_ttl=“30m” to force a check-in. i tried the shell ENV vairable VAULT_AGENT_CACHE_TTL=“30s” and i tried:
cache {
use_auto_auth_token = true
cache_file = "/vault/.vault-token"
cache_ttl = "30s" # Check every 30 seconds for updates
}
But none of those options make the agent check in faster- still seems it checks in randomly between 1 min and 1 hr.
What am i doing wrong?