config: add TTL to agent identity config (#18457)

Add support for identity token TTL in agent configuration fields such as
Consul `service_identity` and `template_identity`.

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
This commit is contained in:
Luiz Aoqui
2023-09-12 11:13:09 -03:00
committed by GitHub
parent 2e1974a574
commit 82372fecb8
8 changed files with 115 additions and 24 deletions

View File

@@ -248,11 +248,13 @@ consul {
aud = ["consul.io", "nomad.dev"]
env = false
file = true
ttl = "1h"
}
template_identity {
aud = ["consul.io"]
env = true
file = false
ttl = "2h"
}
}