From 7cd1f55a3b592ab41dc3ed5356ae6803bf5a0851 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 13 Dec 2017 10:40:22 +0000 Subject: [PATCH] Update template.html.md Vault template example The change updates the Vault example within the Environment Variables section to use the `.value` notation rather than the `.key` notation. This is because the example is calling a specific secret key and populating an env var with this; meaning the value of the secret is required over the value. --- website/source/docs/job-specification/template.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/job-specification/template.html.md b/website/source/docs/job-specification/template.html.md index 0c7ef6021..2e3a92275 100644 --- a/website/source/docs/job-specification/template.html.md +++ b/website/source/docs/job-specification/template.html.md @@ -191,7 +191,7 @@ template { # Empty lines are also ignored LOG_LEVEL="{{key "service/geo-api/log-verbosity"}}" -API_KEY="{{with secret "secret/geo-api-key"}}{{.Data.key}}{{end}}" +API_KEY="{{with secret "secret/geo-api-key"}}{{.Data.value}}{{end}}" EOH destination = "secrets/file.env"