{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/270","labels_url":"https://api.github.com/repos/hashicorp/consul-template/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul-template/issues/270/comments","events_url":"https://api.github.com/repos/hashicorp/consul-template/issues/270/events","html_url":"https://github.com/hashicorp/consul-template/issues/270","id":72217206,"number":270,"title":"iterate vault","user":{"login":"jacoelho","id":4838079,"avatar_url":"https://avatars.githubusercontent.com/u/4838079?v=3","gravatar_id":"","url":"https://api.github.com/users/jacoelho","html_url":"https://github.com/jacoelho","followers_url":"https://api.github.com/users/jacoelho/followers","following_url":"https://api.github.com/users/jacoelho/following{/other_user}","gists_url":"https://api.github.com/users/jacoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/jacoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacoelho/subscriptions","organizations_url":"https://api.github.com/users/jacoelho/orgs","repos_url":"https://api.github.com/users/jacoelho/repos","events_url":"https://api.github.com/users/jacoelho/events{/privacy}","received_events_url":"https://api.github.com/users/jacoelho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T16:43:32Z","updated_at":"2015-04-30T16:47:19Z","closed_at":null,"body":"The possibility of iterate over a vault path could be very useful, atm:\r\n\r\n```\r\ntemplate: application.ctmpl:1:27: executing \"application.ctmpl\" at <\"secret/example/prod...>: range can't iterate over <dependency.Secret Value>\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/comments/97875495","html_url":"https://github.com/hashicorp/consul-template/issues/270#issuecomment-97875495","issue_url":"https://api.github.com/repos/hashicorp/consul-template/issues/270","id":97875495,"user":{"login":"jacoelho","id":4838079,"avatar_url":"https://avatars.githubusercontent.com/u/4838079?v=3","gravatar_id":"","url":"https://api.github.com/users/jacoelho","html_url":"https://github.com/jacoelho","followers_url":"https://api.github.com/users/jacoelho/followers","following_url":"https://api.github.com/users/jacoelho/following{/other_user}","gists_url":"https://api.github.com/users/jacoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/jacoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacoelho/subscriptions","organizations_url":"https://api.github.com/users/jacoelho/orgs","repos_url":"https://api.github.com/users/jacoelho/repos","events_url":"https://api.github.com/users/jacoelho/events{/privacy}","received_events_url":"https://api.github.com/users/jacoelho/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T16:47:19Z","updated_at":"2015-04-30T16:47:19Z","body":"hmm ok, this should work:\r\n```\r\nproduction: {{ with $secret := vault \"secret/example/production\" }}\r\n  {{range $secret.Data  }}\r\n    {{.}}\r\n  {{end}}\r\n{{end}}\r\n```"}}