{"action":"opened","number":420,"pull_request":{"url":"https://api.github.com/repos/mesos/chronos/pulls/420","id":32813599,"html_url":"https://github.com/mesos/chronos/pull/420","diff_url":"https://github.com/mesos/chronos/pull/420.diff","patch_url":"https://github.com/mesos/chronos/pull/420.patch","issue_url":"https://api.github.com/repos/mesos/chronos/issues/420","number":420,"state":"open","locked":false,"title":"Chronos Credential Support","user":{"login":"tamarrow","id":1292768,"avatar_url":"https://avatars.githubusercontent.com/u/1292768?v=3","gravatar_id":"","url":"https://api.github.com/users/tamarrow","html_url":"https://github.com/tamarrow","followers_url":"https://api.github.com/users/tamarrow/followers","following_url":"https://api.github.com/users/tamarrow/following{/other_user}","gists_url":"https://api.github.com/users/tamarrow/gists{/gist_id}","starred_url":"https://api.github.com/users/tamarrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamarrow/subscriptions","organizations_url":"https://api.github.com/users/tamarrow/orgs","repos_url":"https://api.github.com/users/tamarrow/repos","events_url":"https://api.github.com/users/tamarrow/events{/privacy}","received_events_url":"https://api.github.com/users/tamarrow/received_events","type":"User","site_admin":false},"body":"To use the credentials in chronos:\r\n\r\n* Run mesos-master with the credentials flag and the path to file with authorized users + their secrets. \r\n`--credentials=/path/to/credential/file`\r\n\r\n> Each line in the file should be a principal space separated with their password. \r\n```bash\r\n$ cat /path/to/credential/file\r\nprincipal secret\r\nprincipal2 secret2\r\n```\r\n\r\n* Run chronos with the `--mesos_authentication_principal` flag and optionally with the   \r\n`--mesos_authentication_secret_file` flag that contains the secret.\r\n\r\n> The secret file cannot have a trailing newline. To not add a newline simply run:\r\n```bash\r\n$ echo -n \"secret\" > /path/to/secret/file\r\n```","created_at":"2015-04-07T22:50:09Z","updated_at":"2015-04-07T22:50:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/chronos/pulls/420/commits","review_comments_url":"https://api.github.com/repos/mesos/chronos/pulls/420/comments","review_comment_url":"https://api.github.com/repos/mesos/chronos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesos/chronos/issues/420/comments","statuses_url":"https://api.github.com/repos/mesos/chronos/statuses/976fd1db93e3f33e80bef67113e31313ff6cbe3f","head":{"label":"mesos:credential","ref":"credential","sha":"976fd1db93e3f33e80bef67113e31313ff6cbe3f","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":8189762,"name":"chronos","full_name":"mesos/chronos","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/chronos","description":"Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules","fork":false,"url":"https://api.github.com/repos/mesos/chronos","forks_url":"https://api.github.com/repos/mesos/chronos/forks","keys_url":"https://api.github.com/repos/mesos/chronos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/chronos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/chronos/teams","hooks_url":"https://api.github.com/repos/mesos/chronos/hooks","issue_events_url":"https://api.github.com/repos/mesos/chronos/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/chronos/events","assignees_url":"https://api.github.com/repos/mesos/chronos/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/chronos/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/chronos/tags","blobs_url":"https://api.github.com/repos/mesos/chronos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/chronos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/chronos/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/chronos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/chronos/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/chronos/languages","stargazers_url":"https://api.github.com/repos/mesos/chronos/stargazers","contributors_url":"https://api.github.com/repos/mesos/chronos/contributors","subscribers_url":"https://api.github.com/repos/mesos/chronos/subscribers","subscription_url":"https://api.github.com/repos/mesos/chronos/subscription","commits_url":"https://api.github.com/repos/mesos/chronos/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/chronos/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/chronos/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/chronos/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/chronos/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/chronos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/chronos/merges","archive_url":"https://api.github.com/repos/mesos/chronos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/chronos/downloads","issues_url":"https://api.github.com/repos/mesos/chronos/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/chronos/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/chronos/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/chronos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/chronos/labels{/name}","releases_url":"https://api.github.com/repos/mesos/chronos/releases{/id}","created_at":"2013-02-13T22:59:14Z","updated_at":"2015-04-06T17:11:37Z","pushed_at":"2015-04-07T22:20:04Z","git_url":"git://github.com/mesos/chronos.git","ssh_url":"git@github.com:mesos/chronos.git","clone_url":"https://github.com/mesos/chronos.git","svn_url":"https://github.com/mesos/chronos","homepage":"","size":17519,"stargazers_count":2333,"watchers_count":2333,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":252,"mirror_url":null,"open_issues_count":90,"forks":252,"open_issues":90,"watchers":2333,"default_branch":"master"}},"base":{"label":"mesos:master","ref":"master","sha":"caabdea15f5ab9388baf34822818f642faad58ca","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":8189762,"name":"chronos","full_name":"mesos/chronos","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/chronos","description":"Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules","fork":false,"url":"https://api.github.com/repos/mesos/chronos","forks_url":"https://api.github.com/repos/mesos/chronos/forks","keys_url":"https://api.github.com/repos/mesos/chronos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/chronos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/chronos/teams","hooks_url":"https://api.github.com/repos/mesos/chronos/hooks","issue_events_url":"https://api.github.com/repos/mesos/chronos/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/chronos/events","assignees_url":"https://api.github.com/repos/mesos/chronos/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/chronos/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/chronos/tags","blobs_url":"https://api.github.com/repos/mesos/chronos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/chronos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/chronos/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/chronos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/chronos/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/chronos/languages","stargazers_url":"https://api.github.com/repos/mesos/chronos/stargazers","contributors_url":"https://api.github.com/repos/mesos/chronos/contributors","subscribers_url":"https://api.github.com/repos/mesos/chronos/subscribers","subscription_url":"https://api.github.com/repos/mesos/chronos/subscription","commits_url":"https://api.github.com/repos/mesos/chronos/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/chronos/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/chronos/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/chronos/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/chronos/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/chronos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/chronos/merges","archive_url":"https://api.github.com/repos/mesos/chronos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/chronos/downloads","issues_url":"https://api.github.com/repos/mesos/chronos/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/chronos/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/chronos/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/chronos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/chronos/labels{/name}","releases_url":"https://api.github.com/repos/mesos/chronos/releases{/id}","created_at":"2013-02-13T22:59:14Z","updated_at":"2015-04-06T17:11:37Z","pushed_at":"2015-04-07T22:20:04Z","git_url":"git://github.com/mesos/chronos.git","ssh_url":"git@github.com:mesos/chronos.git","clone_url":"https://github.com/mesos/chronos.git","svn_url":"https://github.com/mesos/chronos","homepage":"","size":17519,"stargazers_count":2333,"watchers_count":2333,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":252,"mirror_url":null,"open_issues_count":90,"forks":252,"open_issues":90,"watchers":2333,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/chronos/pulls/420"},"html":{"href":"https://github.com/mesos/chronos/pull/420"},"issue":{"href":"https://api.github.com/repos/mesos/chronos/issues/420"},"comments":{"href":"https://api.github.com/repos/mesos/chronos/issues/420/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/chronos/pulls/420/comments"},"review_comment":{"href":"https://api.github.com/repos/mesos/chronos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesos/chronos/pulls/420/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/chronos/statuses/976fd1db93e3f33e80bef67113e31313ff6cbe3f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":52,"deletions":1,"changed_files":4}}