diff --git a/website/source/docs/job-specification/template.html.md b/website/source/docs/job-specification/template.html.md index 450ffd97a..380d299bc 100644 --- a/website/source/docs/job-specification/template.html.md +++ b/website/source/docs/job-specification/template.html.md @@ -242,6 +242,8 @@ EOH } ``` +Make sure you set `generate_lease=true` on the `pki/issue/foo` role in Vault's PKI backend. Otherwise the template stanze will frequently render a new certificate (approximately every minute) which is probably not what you want. + ### Vault KV API v1 Under Vault KV API v1, paths start with `secret/`, and the response returns the