job "secrets" { datacenters = ["dc1", "dc2"] constraint { attribute = "${attr.kernel.name}" value = "linux" } group "group" { meta { test_deploy = "DEPLOYNUMBER" } task "task" { driver = "docker" config { image = "busybox:1" command = "/bin/sh" args = ["-c", "sleep 300"] } vault { policies = ["access-secrets-TESTID"] } template { data = <