From 7e7c201d2233574f8a8e002a7f3cfe2a10c06a01 Mon Sep 17 00:00:00 2001 From: Justin Walz Date: Wed, 14 Dec 2016 16:49:38 -0800 Subject: [PATCH] add vault example for JSON api --- website/source/docs/http/json-jobs.html.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/http/json-jobs.html.md b/website/source/docs/http/json-jobs.html.md index f6551fd6a..873b12e64 100644 --- a/website/source/docs/http/json-jobs.html.md +++ b/website/source/docs/http/json-jobs.html.md @@ -82,6 +82,12 @@ Below is an example of a JSON object that submits a `periodic` job to Nomad: ] } ], + "Vault": { + "Policies": ["policy-name"], + "Env": true, + "ChangeMode": "restart", + "ChangeSignal": "" + }, "Resources":{ "CPU":500, "MemoryMB":256,