documentation
This commit is contained in:
parent
7efeb06713
commit
961eb4c40e
|
@ -98,10 +98,15 @@ README][ct]. Since Nomad v0.6.0, templates can be read as environment variables.
|
|||
renewal and secret re-acquisition. When renewing a secret, if the remaining
|
||||
lease is less than or equal to the configured grace, the template will request
|
||||
a new credential. This prevents Vault from revoking the secret at its
|
||||
expiration and the task having a stale secret. If the grace is set to a value
|
||||
that is higher than your default TTL or max TTL, the template will always read
|
||||
a new secret. If the task defines several templates, the `vault_grace` will be
|
||||
set to the lowest value across all the templates.
|
||||
expiration and the task having a stale secret.
|
||||
|
||||
If the grace is set to a value that is higher than your default TTL or max
|
||||
TTL, the template will always read a new secret. **If secrets are being
|
||||
renewed constantly, increase the `vault_grace`.**
|
||||
|
||||
If the task defines several templates, the `vault_grace` will be set to the
|
||||
lowest value across all the templates.
|
||||
|
||||
|
||||
## `template` Examples
|
||||
|
||||
|
|
Loading…
Reference in a new issue