{"action":"closed","number":257,"pull_request":{"url":"https://api.github.com/repos/uc-cdis/fence/pulls/257","id":195258350,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MjU4MzUw","html_url":"https://github.com/uc-cdis/fence/pull/257","diff_url":"https://github.com/uc-cdis/fence/pull/257.diff","patch_url":"https://github.com/uc-cdis/fence/pull/257.patch","issue_url":"https://api.github.com/repos/uc-cdis/fence/issues/257","number":257,"state":"closed","locked":false,"title":"PXD-278: feat(assume-role): cross accounts assuming role","user":{"login":"thanh-nguyen-dang","id":11996003,"node_id":"MDQ6VXNlcjExOTk2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/11996003?v=4","gravatar_id":"","url":"https://api.github.com/users/thanh-nguyen-dang","html_url":"https://github.com/thanh-nguyen-dang","followers_url":"https://api.github.com/users/thanh-nguyen-dang/followers","following_url":"https://api.github.com/users/thanh-nguyen-dang/following{/other_user}","gists_url":"https://api.github.com/users/thanh-nguyen-dang/gists{/gist_id}","starred_url":"https://api.github.com/users/thanh-nguyen-dang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanh-nguyen-dang/subscriptions","organizations_url":"https://api.github.com/users/thanh-nguyen-dang/orgs","repos_url":"https://api.github.com/users/thanh-nguyen-dang/repos","events_url":"https://api.github.com/users/thanh-nguyen-dang/events{/privacy}","received_events_url":"https://api.github.com/users/thanh-nguyen-dang/received_events","type":"User","site_admin":false},"body":"Add across accounts presigned url\r\n- Change structure of S3_BUCKETS to have type of bucket\r\n- if internal -> refer to key AWS_CREDENTIALS\r\n- if external -> refer to key in ASSUME_ROLES, then get reference to AWS_CREDENTIALS\r\nr @zflamig @philloooo @rudyardrichter \r\n\r\nrelated prs:\r\nhttps://github.com/uc-cdis/cdis-python-utils/pull/29","created_at":"2018-06-15T19:01:16Z","updated_at":"2018-06-21T21:09:16Z","closed_at":"2018-06-21T21:09:16Z","merged_at":"2018-06-21T21:09:15Z","merge_commit_sha":"c57bce93ee580f44eeef2eaaea19efa06eb3d938","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/uc-cdis/fence/pulls/257/commits","review_comments_url":"https://api.github.com/repos/uc-cdis/fence/pulls/257/comments","review_comment_url":"https://api.github.com/repos/uc-cdis/fence/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uc-cdis/fence/issues/257/comments","statuses_url":"https://api.github.com/repos/uc-cdis/fence/statuses/b5a2f95f2dbcbe0d501bb1969a2076c9b71a7fed","head":{"label":"uc-cdis:feat/assume-role","ref":"feat/assume-role","sha":"b5a2f95f2dbcbe0d501bb1969a2076c9b71a7fed","user":{"login":"uc-cdis","id":15327655,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzI3NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/15327655?v=4","gravatar_id":"","url":"https://api.github.com/users/uc-cdis","html_url":"https://github.com/uc-cdis","followers_url":"https://api.github.com/users/uc-cdis/followers","following_url":"https://api.github.com/users/uc-cdis/following{/other_user}","gists_url":"https://api.github.com/users/uc-cdis/gists{/gist_id}","starred_url":"https://api.github.com/users/uc-cdis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uc-cdis/subscriptions","organizations_url":"https://api.github.com/users/uc-cdis/orgs","repos_url":"https://api.github.com/users/uc-cdis/repos","events_url":"https://api.github.com/users/uc-cdis/events{/privacy}","received_events_url":"https://api.github.com/users/uc-cdis/received_events","type":"Organization","site_admin":false},"repo":{"id":102788001,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI3ODgwMDE=","name":"fence","full_name":"uc-cdis/fence","owner":{"login":"uc-cdis","id":15327655,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzI3NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/15327655?v=4","gravatar_id":"","url":"https://api.github.com/users/uc-cdis","html_url":"https://github.com/uc-cdis","followers_url":"https://api.github.com/users/uc-cdis/followers","following_url":"https://api.github.com/users/uc-cdis/following{/other_user}","gists_url":"https://api.github.com/users/uc-cdis/gists{/gist_id}","starred_url":"https://api.github.com/users/uc-cdis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uc-cdis/subscriptions","organizations_url":"https://api.github.com/users/uc-cdis/orgs","repos_url":"https://api.github.com/users/uc-cdis/repos","events_url":"https://api.github.com/users/uc-cdis/events{/privacy}","received_events_url":"https://api.github.com/users/uc-cdis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uc-cdis/fence","description":"Gen3 Auth Service","fork":false,"url":"https://api.github.com/repos/uc-cdis/fence","forks_url":"https://api.github.com/repos/uc-cdis/fence/forks","keys_url":"https://api.github.com/repos/uc-cdis/fence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uc-cdis/fence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uc-cdis/fence/teams","hooks_url":"https://api.github.com/repos/uc-cdis/fence/hooks","issue_events_url":"https://api.github.com/repos/uc-cdis/fence/issues/events{/number}","events_url":"https://api.github.com/repos/uc-cdis/fence/events","assignees_url":"https://api.github.com/repos/uc-cdis/fence/assignees{/user}","branches_url":"https://api.github.com/repos/uc-cdis/fence/branches{/branch}","tags_url":"https://api.github.com/repos/uc-cdis/fence/tags","blobs_url":"https://api.github.com/repos/uc-cdis/fence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uc-cdis/fence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uc-cdis/fence/git/refs{/sha}","trees_url":"https://api.github.com/repos/uc-cdis/fence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uc-cdis/fence/statuses/{sha}","languages_url":"https://api.github.com/repos/uc-cdis/fence/languages","stargazers_url":"https://api.github.com/repos/uc-cdis/fence/stargazers","contributors_url":"https://api.github.com/repos/uc-cdis/fence/contributors","subscribers_url":"https://api.github.com/repos/uc-cdis/fence/subscribers","subscription_url":"https://api.github.com/repos/uc-cdis/fence/subscription","commits_url":"https://api.github.com/repos/uc-cdis/fence/commits{/sha}","git_commits_url":"https://api.github.com/repos/uc-cdis/fence/git/commits{/sha}","comments_url":"https://api.github.com/repos/uc-cdis/fence/comments{/number}","issue_comment_url":"https://api.github.com/repos/uc-cdis/fence/issues/comments{/number}","contents_url":"https://api.github.com/repos/uc-cdis/fence/contents/{+path}","compare_url":"https://api.github.com/repos/uc-cdis/fence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uc-cdis/fence/merges","archive_url":"https://api.github.com/repos/uc-cdis/fence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uc-cdis/fence/downloads","issues_url":"https://api.github.com/repos/uc-cdis/fence/issues{/number}","pulls_url":"https://api.github.com/repos/uc-cdis/fence/pulls{/number}","milestones_url":"https://api.github.com/repos/uc-cdis/fence/milestones{/number}","notifications_url":"https://api.github.com/repos/uc-cdis/fence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uc-cdis/fence/labels{/name}","releases_url":"https://api.github.com/repos/uc-cdis/fence/releases{/id}","deployments_url":"https://api.github.com/repos/uc-cdis/fence/deployments","created_at":"2017-09-07T21:36:42Z","updated_at":"2018-06-21T19:35:05Z","pushed_at":"2018-06-21T21:09:15Z","git_url":"git://github.com/uc-cdis/fence.git","ssh_url":"git@github.com:uc-cdis/fence.git","clone_url":"https://github.com/uc-cdis/fence.git","svn_url":"https://github.com/uc-cdis/fence","homepage":"","size":1843,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":51,"license":null,"forks":1,"open_issues":51,"watchers":0,"default_branch":"master"}},"base":{"label":"uc-cdis:master","ref":"master","sha":"4c0ca3eb80fcb226ba8cd403aef4f0f8d41a40f4","user":{"login":"uc-cdis","id":15327655,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzI3NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/15327655?v=4","gravatar_id":"","url":"https://api.github.com/users/uc-cdis","html_url":"https://github.com/uc-cdis","followers_url":"https://api.github.com/users/uc-cdis/followers","following_url":"https://api.github.com/users/uc-cdis/following{/other_user}","gists_url":"https://api.github.com/users/uc-cdis/gists{/gist_id}","starred_url":"https://api.github.com/users/uc-cdis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uc-cdis/subscriptions","organizations_url":"https://api.github.com/users/uc-cdis/orgs","repos_url":"https://api.github.com/users/uc-cdis/repos","events_url":"https://api.github.com/users/uc-cdis/events{/privacy}","received_events_url":"https://api.github.com/users/uc-cdis/received_events","type":"Organization","site_admin":false},"repo":{"id":102788001,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI3ODgwMDE=","name":"fence","full_name":"uc-cdis/fence","owner":{"login":"uc-cdis","id":15327655,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzI3NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/15327655?v=4","gravatar_id":"","url":"https://api.github.com/users/uc-cdis","html_url":"https://github.com/uc-cdis","followers_url":"https://api.github.com/users/uc-cdis/followers","following_url":"https://api.github.com/users/uc-cdis/following{/other_user}","gists_url":"https://api.github.com/users/uc-cdis/gists{/gist_id}","starred_url":"https://api.github.com/users/uc-cdis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uc-cdis/subscriptions","organizations_url":"https://api.github.com/users/uc-cdis/orgs","repos_url":"https://api.github.com/users/uc-cdis/repos","events_url":"https://api.github.com/users/uc-cdis/events{/privacy}","received_events_url":"https://api.github.com/users/uc-cdis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uc-cdis/fence","description":"Gen3 Auth Service","fork":false,"url":"https://api.github.com/repos/uc-cdis/fence","forks_url":"https://api.github.com/repos/uc-cdis/fence/forks","keys_url":"https://api.github.com/repos/uc-cdis/fence/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uc-cdis/fence/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uc-cdis/fence/teams","hooks_url":"https://api.github.com/repos/uc-cdis/fence/hooks","issue_events_url":"https://api.github.com/repos/uc-cdis/fence/issues/events{/number}","events_url":"https://api.github.com/repos/uc-cdis/fence/events","assignees_url":"https://api.github.com/repos/uc-cdis/fence/assignees{/user}","branches_url":"https://api.github.com/repos/uc-cdis/fence/branches{/branch}","tags_url":"https://api.github.com/repos/uc-cdis/fence/tags","blobs_url":"https://api.github.com/repos/uc-cdis/fence/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uc-cdis/fence/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uc-cdis/fence/git/refs{/sha}","trees_url":"https://api.github.com/repos/uc-cdis/fence/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uc-cdis/fence/statuses/{sha}","languages_url":"https://api.github.com/repos/uc-cdis/fence/languages","stargazers_url":"https://api.github.com/repos/uc-cdis/fence/stargazers","contributors_url":"https://api.github.com/repos/uc-cdis/fence/contributors","subscribers_url":"https://api.github.com/repos/uc-cdis/fence/subscribers","subscription_url":"https://api.github.com/repos/uc-cdis/fence/subscription","commits_url":"https://api.github.com/repos/uc-cdis/fence/commits{/sha}","git_commits_url":"https://api.github.com/repos/uc-cdis/fence/git/commits{/sha}","comments_url":"https://api.github.com/repos/uc-cdis/fence/comments{/number}","issue_comment_url":"https://api.github.com/repos/uc-cdis/fence/issues/comments{/number}","contents_url":"https://api.github.com/repos/uc-cdis/fence/contents/{+path}","compare_url":"https://api.github.com/repos/uc-cdis/fence/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uc-cdis/fence/merges","archive_url":"https://api.github.com/repos/uc-cdis/fence/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uc-cdis/fence/downloads","issues_url":"https://api.github.com/repos/uc-cdis/fence/issues{/number}","pulls_url":"https://api.github.com/repos/uc-cdis/fence/pulls{/number}","milestones_url":"https://api.github.com/repos/uc-cdis/fence/milestones{/number}","notifications_url":"https://api.github.com/repos/uc-cdis/fence/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uc-cdis/fence/labels{/name}","releases_url":"https://api.github.com/repos/uc-cdis/fence/releases{/id}","deployments_url":"https://api.github.com/repos/uc-cdis/fence/deployments","created_at":"2017-09-07T21:36:42Z","updated_at":"2018-06-21T19:35:05Z","pushed_at":"2018-06-21T21:09:15Z","git_url":"git://github.com/uc-cdis/fence.git","ssh_url":"git@github.com:uc-cdis/fence.git","clone_url":"https://github.com/uc-cdis/fence.git","svn_url":"https://github.com/uc-cdis/fence","homepage":"","size":1843,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":51,"license":null,"forks":1,"open_issues":51,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uc-cdis/fence/pulls/257"},"html":{"href":"https://github.com/uc-cdis/fence/pull/257"},"issue":{"href":"https://api.github.com/repos/uc-cdis/fence/issues/257"},"comments":{"href":"https://api.github.com/repos/uc-cdis/fence/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/uc-cdis/fence/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/uc-cdis/fence/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uc-cdis/fence/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/uc-cdis/fence/statuses/b5a2f95f2dbcbe0d501bb1969a2076c9b71a7fed"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thanh-nguyen-dang","id":11996003,"node_id":"MDQ6VXNlcjExOTk2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/11996003?v=4","gravatar_id":"","url":"https://api.github.com/users/thanh-nguyen-dang","html_url":"https://github.com/thanh-nguyen-dang","followers_url":"https://api.github.com/users/thanh-nguyen-dang/followers","following_url":"https://api.github.com/users/thanh-nguyen-dang/following{/other_user}","gists_url":"https://api.github.com/users/thanh-nguyen-dang/gists{/gist_id}","starred_url":"https://api.github.com/users/thanh-nguyen-dang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanh-nguyen-dang/subscriptions","organizations_url":"https://api.github.com/users/thanh-nguyen-dang/orgs","repos_url":"https://api.github.com/users/thanh-nguyen-dang/repos","events_url":"https://api.github.com/users/thanh-nguyen-dang/events{/privacy}","received_events_url":"https://api.github.com/users/thanh-nguyen-dang/received_events","type":"User","site_admin":false},"comments":0,"review_comments":3,"maintainer_can_modify":false,"commits":2,"additions":158,"deletions":56,"changed_files":7}}
{"actor":{"display_login":"thanh-nguyen-dang"}}