Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "key" attribute to content object #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dhemmat
Copy link

@dhemmat dhemmat commented May 23, 2015

This way we can pass the object key in the POST request that follows an upload. This is useful when using acl="private", as we need to use pre-signed keys to access the objects anyways (and pre-signing requires an object key). Although it is possible to infer the key from the filepath attribute that the content object contains I felt it was really hacky and there was no reason not to pass back the actual key that AWS returns.

@goozler
Copy link

goozler commented Jan 15, 2016

This is useful. I need this feature too.

@dhemmat
Copy link
Author

dhemmat commented Jan 16, 2016

@goozler, you can use my fork (or fork it for yourself) in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants