{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/26","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/26/comments","events_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/26/events","html_url":"https://github.com/awslabs/aws-sdk-go/issues/26","id":52510386,"number":26,"title":"Generating a pre-signed URL to an S3 object","user":{"login":"pwaller","id":438648,"avatar_url":"https://avatars.githubusercontent.com/u/438648?v=3","gravatar_id":"","url":"https://api.github.com/users/pwaller","html_url":"https://github.com/pwaller","followers_url":"https://api.github.com/users/pwaller/followers","following_url":"https://api.github.com/users/pwaller/following{/other_user}","gists_url":"https://api.github.com/users/pwaller/gists{/gist_id}","starred_url":"https://api.github.com/users/pwaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwaller/subscriptions","organizations_url":"https://api.github.com/users/pwaller/orgs","repos_url":"https://api.github.com/users/pwaller/repos","events_url":"https://api.github.com/users/pwaller/events{/privacy}","received_events_url":"https://api.github.com/users/pwaller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/milestones/1","html_url":"https://github.com/awslabs/aws-sdk-go/milestones/Merge%20develop%20into%20master","labels_url":"https://api.github.com/repos/awslabs/aws-sdk-go/milestones/1/labels","id":1021784,"number":1,"title":"Merge develop into master","description":"Currently, development work is happening in the `develop` branch in order to refactor some internals without breaking the current API in master. This milestone will track any issues that are addressed in the develop branch and should be resolved once the branch is merged.\r\n\r\nNote that breaking API changes will come with the merge of develop into master.","creator":{"login":"lsegal","id":686,"avatar_url":"https://avatars.githubusercontent.com/u/686?v=3","gravatar_id":"","url":"https://api.github.com/users/lsegal","html_url":"https://github.com/lsegal","followers_url":"https://api.github.com/users/lsegal/followers","following_url":"https://api.github.com/users/lsegal/following{/other_user}","gists_url":"https://api.github.com/users/lsegal/gists{/gist_id}","starred_url":"https://api.github.com/users/lsegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsegal/subscriptions","organizations_url":"https://api.github.com/users/lsegal/orgs","repos_url":"https://api.github.com/users/lsegal/repos","events_url":"https://api.github.com/users/lsegal/events{/privacy}","received_events_url":"https://api.github.com/users/lsegal/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":18,"state":"closed","created_at":"2015-03-15T00:35:40Z","updated_at":"2015-03-26T20:05:16Z","due_on":null,"closed_at":"2015-03-26T20:05:16Z"},"comments":18,"created_at":"2014-12-19T17:55:44Z","updated_at":"2015-05-21T23:57:14Z","closed_at":"2015-03-21T12:52:42Z","body":"I would like to use my instance role credentials to generate a URL to an S3 object so that the instance can delegate access.\r\n\r\nMy use case is to enable a private docker registry to redirect clients to the S3 URL to an image directly, so that the registry itself doesn't have to bit-bash the whole thing from S3 and out to the client, but can instead just do a 302 redirect to an S3 URL which has [temporary authorization signature embedded in the query parameters](http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html).\r\n\r\nI don't need the API itself to produce the whole URLs (which would be nice), but I would like to be able to reuse the signing machinery at least.\r\n\r\nSound like a reasonable addition? I think it's not currently easy to implement because all of the signing machinery currently lives in private interfaces."},"comment":{"url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/comments/104453147","html_url":"https://github.com/awslabs/aws-sdk-go/issues/26#issuecomment-104453147","issue_url":"https://api.github.com/repos/awslabs/aws-sdk-go/issues/26","id":104453147,"user":{"login":"evanphx","id":7,"avatar_url":"https://avatars.githubusercontent.com/u/7?v=3","gravatar_id":"","url":"https://api.github.com/users/evanphx","html_url":"https://github.com/evanphx","followers_url":"https://api.github.com/users/evanphx/followers","following_url":"https://api.github.com/users/evanphx/following{/other_user}","gists_url":"https://api.github.com/users/evanphx/gists{/gist_id}","starred_url":"https://api.github.com/users/evanphx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanphx/subscriptions","organizations_url":"https://api.github.com/users/evanphx/orgs","repos_url":"https://api.github.com/users/evanphx/repos","events_url":"https://api.github.com/users/evanphx/events{/privacy}","received_events_url":"https://api.github.com/users/evanphx/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T23:57:14Z","updated_at":"2015-05-21T23:57:14Z","body":"Nevermind! Found it! :kissing_heart: "}}