{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/comments/234490580","pull_request_review_id":176139821,"id":234490580,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQ5MDU4MA==","diff_hunk":"@@ -1,71 +1,124 @@\n ---\n layout: \"guides\"\n-page_title: \"Vault Integration\"\n+page_title: \"Vault Integration and Retrieving Dynamic Secrets\"\n sidebar_current: \"guides-operations-vault-integration\"\n description: |-\n-  Learn how to integrate Nomad with HashiCorp Vault and retrieve Vault tokens for\n-  tasks.\n+  Learn how to deploy an application in Nomad and retrieve dynamic credentials\n+  by integrating with Vault.\n ---\n \n-# Vault Integration\n+# Vault Integration and Retrieving Dynamic Secrets\n \n-Many workloads require access to tokens, passwords, certificates, API keys, and\n-other secrets. To enable secure, auditable and easy access to your secrets,\n-Nomad integrates with HashiCorp's [Vault][]. Nomad servers and clients\n-coordinate with Vault to derive a Vault token that has access to only the Vault\n-policies the tasks needs. Nomad clients make the token available to the task and\n-handle the tokens renewal. Further, Nomad's [`template` block][template] can\n-retrieve secrets from Vault making it easier than ever to secure your\n-infrastructure.\n+Nomad integrates seamlessly with [Vault][vault] and allows your application to\n+retrieve dynamic credentials for various tasks. In this guide, you will deploy a\n+web application that needs to authenticate against [PostgreSQL][postgresql] to\n+display data from a table to the user.\n \n-Note that in order to use Vault with Nomad, you will need to configure and\n-install Vault separately from Nomad. Nomad does not run Vault for you.\n+## Reference Material\n \n--> **Note:** Vault integration requires Vault version 0.6.2 or higher.\n+- [Vault Integration][vault-integration]","path":"website/source/guides/operations/vault-integration/index.html.md","position":34,"original_position":34,"commit_id":"1521764b97325d7c8a7475160db9d7d4dc273703","original_commit_id":"1521764b97325d7c8a7475160db9d7d4dc273703","user":{"login":"rcgenova","id":3202208,"node_id":"MDQ6VXNlcjMyMDIyMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3202208?v=4","gravatar_id":"","url":"https://api.github.com/users/rcgenova","html_url":"https://github.com/rcgenova","followers_url":"https://api.github.com/users/rcgenova/followers","following_url":"https://api.github.com/users/rcgenova/following{/other_user}","gists_url":"https://api.github.com/users/rcgenova/gists{/gist_id}","starred_url":"https://api.github.com/users/rcgenova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcgenova/subscriptions","organizations_url":"https://api.github.com/users/rcgenova/orgs","repos_url":"https://api.github.com/users/rcgenova/repos","events_url":"https://api.github.com/users/rcgenova/events{/privacy}","received_events_url":"https://api.github.com/users/rcgenova/received_events","type":"User","site_admin":false},"body":"We may want to label this link \"Vault Integration Docs Page\" or similar here to differentiate it from this new Vault Integration guide/tutorial page.","created_at":"2018-11-19T04:19:54Z","updated_at":"2018-11-19T04:19:54Z","html_url":"https://github.com/hashicorp/nomad/pull/4886#discussion_r234490580","pull_request_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4886","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/comments/234490580"},"html":{"href":"https://github.com/hashicorp/nomad/pull/4886#discussion_r234490580"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4886"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/4886","id":231369904,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMzY5OTA0","html_url":"https://github.com/hashicorp/nomad/pull/4886","diff_url":"https://github.com/hashicorp/nomad/pull/4886.diff","patch_url":"https://github.com/hashicorp/nomad/pull/4886.patch","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/4886","number":4886,"state":"open","locked":false,"title":"New Nomad Vault Integration Guide","user":{"login":"Omar-Khawaja","id":21130513,"node_id":"MDQ6VXNlcjIxMTMwNTEz","avatar_url":"https://avatars2.githubusercontent.com/u/21130513?v=4","gravatar_id":"","url":"https://api.github.com/users/Omar-Khawaja","html_url":"https://github.com/Omar-Khawaja","followers_url":"https://api.github.com/users/Omar-Khawaja/followers","following_url":"https://api.github.com/users/Omar-Khawaja/following{/other_user}","gists_url":"https://api.github.com/users/Omar-Khawaja/gists{/gist_id}","starred_url":"https://api.github.com/users/Omar-Khawaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omar-Khawaja/subscriptions","organizations_url":"https://api.github.com/users/Omar-Khawaja/orgs","repos_url":"https://api.github.com/users/Omar-Khawaja/repos","events_url":"https://api.github.com/users/Omar-Khawaja/events{/privacy}","received_events_url":"https://api.github.com/users/Omar-Khawaja/received_events","type":"User","site_admin":false},"body":"Moves existing Vault integration content from the guides section to the docs section. There is now a new Vault integration guide in the guides section (in the same spot as the previous Vault integration content).\r\n\r\nTo be clear, the new guide is located at /guides/operations/vault-integration/index.html","created_at":"2018-11-15T23:33:12Z","updated_at":"2018-11-19T04:19:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95dc7fd0af5276fa90b9a531d7f3b32996000f9e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"schmichael","id":113362,"node_id":"MDQ6VXNlcjExMzM2Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/113362?v=4","gravatar_id":"","url":"https://api.github.com/users/schmichael","html_url":"https://github.com/schmichael","followers_url":"https://api.github.com/users/schmichael/followers","following_url":"https://api.github.com/users/schmichael/following{/other_user}","gists_url":"https://api.github.com/users/schmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/schmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmichael/subscriptions","organizations_url":"https://api.github.com/users/schmichael/orgs","repos_url":"https://api.github.com/users/schmichael/repos","events_url":"https://api.github.com/users/schmichael/events{/privacy}","received_events_url":"https://api.github.com/users/schmichael/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4886/commits","review_comments_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4886/comments","review_comment_url":"https://api.github.com/repos/hashicorp/nomad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/4886/comments","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/1521764b97325d7c8a7475160db9d7d4dc273703","head":{"label":"hashicorp:nomad-vault-guide","ref":"nomad-vault-guide","sha":"1521764b97325d7c8a7475160db9d7d4dc273703","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":36653430,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY1MzQzMA==","name":"nomad","full_name":"hashicorp/nomad","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/nomad","description":"Nomad is a flexible, enterprise-grade cluster scheduler designed to easily integrate into existing workflows. Nomad can run a diverse workload of micro-service, batch, containerized and non-containerized applications. Nomad is easy to operate and scale and integrates seamlessly with Consul and Vault.","fork":false,"url":"https://api.github.com/repos/hashicorp/nomad","forks_url":"https://api.github.com/repos/hashicorp/nomad/forks","keys_url":"https://api.github.com/repos/hashicorp/nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/nomad/teams","hooks_url":"https://api.github.com/repos/hashicorp/nomad/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/nomad/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/nomad/events","assignees_url":"https://api.github.com/repos/hashicorp/nomad/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/nomad/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/nomad/tags","blobs_url":"https://api.github.com/repos/hashicorp/nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/nomad/languages","stargazers_url":"https://api.github.com/repos/hashicorp/nomad/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/nomad/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/nomad/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/nomad/subscription","commits_url":"https://api.github.com/repos/hashicorp/nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/nomad/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/nomad/merges","archive_url":"https://api.github.com/repos/hashicorp/nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/nomad/downloads","issues_url":"https://api.github.com/repos/hashicorp/nomad/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/nomad/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/nomad/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/nomad/deployments","created_at":"2015-06-01T10:21:00Z","updated_at":"2018-11-19T02:17:10Z","pushed_at":"2018-11-18T23:38:40Z","git_url":"git://github.com/hashicorp/nomad.git","ssh_url":"git@github.com:hashicorp/nomad.git","clone_url":"https://github.com/hashicorp/nomad.git","svn_url":"https://github.com/hashicorp/nomad","homepage":"https://www.nomadproject.io/","size":114743,"stargazers_count":4020,"watchers_count":4020,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":786,"mirror_url":null,"archived":false,"open_issues_count":456,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":786,"open_issues":456,"watchers":4020,"default_branch":"master"}},"base":{"label":"hashicorp:master","ref":"master","sha":"ca4e237d628122703cf2370eb4f6d755299d5f32","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":36653430,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY1MzQzMA==","name":"nomad","full_name":"hashicorp/nomad","private":false,"owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hashicorp/nomad","description":"Nomad is a flexible, enterprise-grade cluster scheduler designed to easily integrate into existing workflows. Nomad can run a diverse workload of micro-service, batch, containerized and non-containerized applications. Nomad is easy to operate and scale and integrates seamlessly with Consul and Vault.","fork":false,"url":"https://api.github.com/repos/hashicorp/nomad","forks_url":"https://api.github.com/repos/hashicorp/nomad/forks","keys_url":"https://api.github.com/repos/hashicorp/nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/nomad/teams","hooks_url":"https://api.github.com/repos/hashicorp/nomad/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/nomad/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/nomad/events","assignees_url":"https://api.github.com/repos/hashicorp/nomad/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/nomad/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/nomad/tags","blobs_url":"https://api.github.com/repos/hashicorp/nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/nomad/languages","stargazers_url":"https://api.github.com/repos/hashicorp/nomad/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/nomad/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/nomad/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/nomad/subscription","commits_url":"https://api.github.com/repos/hashicorp/nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/nomad/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/nomad/merges","archive_url":"https://api.github.com/repos/hashicorp/nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/nomad/downloads","issues_url":"https://api.github.com/repos/hashicorp/nomad/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/nomad/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/nomad/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/nomad/deployments","created_at":"2015-06-01T10:21:00Z","updated_at":"2018-11-19T02:17:10Z","pushed_at":"2018-11-18T23:38:40Z","git_url":"git://github.com/hashicorp/nomad.git","ssh_url":"git@github.com:hashicorp/nomad.git","clone_url":"https://github.com/hashicorp/nomad.git","svn_url":"https://github.com/hashicorp/nomad","homepage":"https://www.nomadproject.io/","size":114743,"stargazers_count":4020,"watchers_count":4020,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":786,"mirror_url":null,"archived":false,"open_issues_count":456,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":786,"open_issues":456,"watchers":4020,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4886"},"html":{"href":"https://github.com/hashicorp/nomad/pull/4886"},"issue":{"href":"https://api.github.com/repos/hashicorp/nomad/issues/4886"},"comments":{"href":"https://api.github.com/repos/hashicorp/nomad/issues/4886/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4886/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4886/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/nomad/statuses/1521764b97325d7c8a7475160db9d7d4dc273703"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rcgenova"}}