{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/comments/52245025","id":52245025,"diff_hunk":"@@ -11,22 +11,19 @@ a `clientId`, `temporaryAccessToken` and a certificate validating these.\n \n Temporary credentials always have an explicit start and expiry date, which can\n be up to 31 days apart. A set of temporary credentials cannot be used to issue\n-new temporary credentials, but they be used to generated signed URLs for\n+new temporary credentials, but they be used to generate signed URLs for\n untrusted sources.\n \n-A certificate looks as follows and must be base64 encoded and attached to all\n-requests using hawks `ext´ property.\n+A certificate looks as follows and must be attached to all requests in Hawk's `ext` property.\n \n ```js\n-{\n-  certificate: {\n-    version:          1,\n-    scopes:           ['ScopeA', 'ScopeB'],\n-    start:            1410399435102,\n-    expiry:           1410399497349,\n-    seed:             'KpJvYUNXSYeWqc0vnsAq9wJJgvWv5pTh6IYhd120YZTQ',\n-    signature:        'Yw1ETAM+6PGA0T65IAEShwyDLDQqw7M8qpFzLpG+Nm8='\n-  }\n+certificate: {\n+  version:          1,\n+  scopes:           ['ScopeA', 'ScopeB'],\n+  start:            1410399435102,\n+  expiry:           1410399497349,\n+  seed:             'KpJvYUNXSYeWqc0vnsAq9wJJgvWv5pTh6IYhd120YZTQ',\n+  signature:        'Yw1ETAM+6PGA0T65IAEShwyDLDQqw7M8qpFzLpG+Nm8='\n }","path":"auth/temporary-credentials/index.md","position":29,"original_position":29,"commit_id":"798b4bca3b49bb00005f8fc3c0edbdb227262129","original_commit_id":"798b4bca3b49bb00005f8fc3c0edbdb227262129","user":{"login":"jonasfj","id":149732,"avatar_url":"https://avatars.githubusercontent.com/u/149732?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasfj","html_url":"https://github.com/jonasfj","followers_url":"https://api.github.com/users/jonasfj/followers","following_url":"https://api.github.com/users/jonasfj/following{/other_user}","gists_url":"https://api.github.com/users/jonasfj/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasfj/subscriptions","organizations_url":"https://api.github.com/users/jonasfj/orgs","repos_url":"https://api.github.com/users/jonasfj/repos","events_url":"https://api.github.com/users/jonasfj/events{/privacy}","received_events_url":"https://api.github.com/users/jonasfj/received_events","type":"User","site_admin":false},"body":"issuer goes here.","created_at":"2016-02-08T23:27:27Z","updated_at":"2016-02-08T23:27:27Z","html_url":"https://github.com/taskcluster/taskcluster-docs/pull/70#discussion_r52245025","pull_request_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/comments/52245025"},"html":{"href":"https://github.com/taskcluster/taskcluster-docs/pull/70#discussion_r52245025"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70","id":57720684,"html_url":"https://github.com/taskcluster/taskcluster-docs/pull/70","diff_url":"https://github.com/taskcluster/taskcluster-docs/pull/70.diff","patch_url":"https://github.com/taskcluster/taskcluster-docs/pull/70.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/70","number":70,"state":"open","locked":false,"title":"update auth docs to include ext.issuer","user":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"body":"Still working on the actual implementation over in https://github.com/taskcluster/taskcluster-lib-api/pull/8","created_at":"2016-01-30T00:11:46Z","updated_at":"2016-02-08T23:27:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d9e66d5584e5e70cb7a67fa0d6cf493c3be6f57","assignee":{"login":"jonasfj","id":149732,"avatar_url":"https://avatars.githubusercontent.com/u/149732?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasfj","html_url":"https://github.com/jonasfj","followers_url":"https://api.github.com/users/jonasfj/followers","following_url":"https://api.github.com/users/jonasfj/following{/other_user}","gists_url":"https://api.github.com/users/jonasfj/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasfj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasfj/subscriptions","organizations_url":"https://api.github.com/users/jonasfj/orgs","repos_url":"https://api.github.com/users/jonasfj/repos","events_url":"https://api.github.com/users/jonasfj/events{/privacy}","received_events_url":"https://api.github.com/users/jonasfj/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/70/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/statuses/798b4bca3b49bb00005f8fc3c0edbdb227262129","head":{"label":"djmitche:cred-client-id","ref":"cred-client-id","sha":"798b4bca3b49bb00005f8fc3c0edbdb227262129","user":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"repo":{"id":28646988,"name":"taskcluster-docs","full_name":"djmitche/taskcluster-docs","owner":{"login":"djmitche","id":28673,"avatar_url":"https://avatars.githubusercontent.com/u/28673?v=3","gravatar_id":"","url":"https://api.github.com/users/djmitche","html_url":"https://github.com/djmitche","followers_url":"https://api.github.com/users/djmitche/followers","following_url":"https://api.github.com/users/djmitche/following{/other_user}","gists_url":"https://api.github.com/users/djmitche/gists{/gist_id}","starred_url":"https://api.github.com/users/djmitche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djmitche/subscriptions","organizations_url":"https://api.github.com/users/djmitche/orgs","repos_url":"https://api.github.com/users/djmitche/repos","events_url":"https://api.github.com/users/djmitche/events{/privacy}","received_events_url":"https://api.github.com/users/djmitche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djmitche/taskcluster-docs","description":"Documentation for taskcluster components","fork":true,"url":"https://api.github.com/repos/djmitche/taskcluster-docs","forks_url":"https://api.github.com/repos/djmitche/taskcluster-docs/forks","keys_url":"https://api.github.com/repos/djmitche/taskcluster-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djmitche/taskcluster-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djmitche/taskcluster-docs/teams","hooks_url":"https://api.github.com/repos/djmitche/taskcluster-docs/hooks","issue_events_url":"https://api.github.com/repos/djmitche/taskcluster-docs/issues/events{/number}","events_url":"https://api.github.com/repos/djmitche/taskcluster-docs/events","assignees_url":"https://api.github.com/repos/djmitche/taskcluster-docs/assignees{/user}","branches_url":"https://api.github.com/repos/djmitche/taskcluster-docs/branches{/branch}","tags_url":"https://api.github.com/repos/djmitche/taskcluster-docs/tags","blobs_url":"https://api.github.com/repos/djmitche/taskcluster-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djmitche/taskcluster-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djmitche/taskcluster-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/djmitche/taskcluster-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djmitche/taskcluster-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/djmitche/taskcluster-docs/languages","stargazers_url":"https://api.github.com/repos/djmitche/taskcluster-docs/stargazers","contributors_url":"https://api.github.com/repos/djmitche/taskcluster-docs/contributors","subscribers_url":"https://api.github.com/repos/djmitche/taskcluster-docs/subscribers","subscription_url":"https://api.github.com/repos/djmitche/taskcluster-docs/subscription","commits_url":"https://api.github.com/repos/djmitche/taskcluster-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/djmitche/taskcluster-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/djmitche/taskcluster-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/djmitche/taskcluster-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/djmitche/taskcluster-docs/contents/{+path}","compare_url":"https://api.github.com/repos/djmitche/taskcluster-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djmitche/taskcluster-docs/merges","archive_url":"https://api.github.com/repos/djmitche/taskcluster-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djmitche/taskcluster-docs/downloads","issues_url":"https://api.github.com/repos/djmitche/taskcluster-docs/issues{/number}","pulls_url":"https://api.github.com/repos/djmitche/taskcluster-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/djmitche/taskcluster-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/djmitche/taskcluster-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djmitche/taskcluster-docs/labels{/name}","releases_url":"https://api.github.com/repos/djmitche/taskcluster-docs/releases{/id}","deployments_url":"https://api.github.com/repos/djmitche/taskcluster-docs/deployments","created_at":"2014-12-30T22:03:05Z","updated_at":"2016-01-11T14:33:22Z","pushed_at":"2016-02-08T23:15:06Z","git_url":"git://github.com/djmitche/taskcluster-docs.git","ssh_url":"git@github.com:djmitche/taskcluster-docs.git","clone_url":"https://github.com/djmitche/taskcluster-docs.git","svn_url":"https://github.com/djmitche/taskcluster-docs","homepage":"docs.taskcluster.net","size":8158,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"8e8b91660adb86fc32097eb96b0a61e27adc58fc","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":16743730,"name":"taskcluster-docs","full_name":"taskcluster/taskcluster-docs","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-docs","description":"Documentation for taskcluster components","fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-docs","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/taskcluster-docs/deployments","created_at":"2014-02-11T20:08:26Z","updated_at":"2016-01-11T14:33:25Z","pushed_at":"2016-02-08T23:15:06Z","git_url":"git://github.com/taskcluster/taskcluster-docs.git","ssh_url":"git@github.com:taskcluster/taskcluster-docs.git","clone_url":"https://github.com/taskcluster/taskcluster-docs.git","svn_url":"https://github.com/taskcluster/taskcluster-docs","homepage":"docs.taskcluster.net","size":8197,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":2,"forks":12,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70"},"html":{"href":"https://github.com/taskcluster/taskcluster-docs/pull/70"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/70"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-docs/statuses/798b4bca3b49bb00005f8fc3c0edbdb227262129"}}}}