Project

General

Profile

Feature #3454

Support temp URLs for Swift API

Added by Aaron Schulz over 11 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

See http://docs.rackspace.com/files/api/v1/cf-devguide/content/TempURL-d1a4450.html

Since the configuration of authentication and users is different in rgw and swift, we end up with no way to set X-Account-Meta-Temp-Url-Key and thus no way to make temp urls. It would be nice if a setting in the rados user config allowed setting the shared secret key (in place of a POST request with X-Account-Meta-Temp-Url-Key).

Temp urls are useful for both giving to users and passing to programs (like avconv) that don't actually support sending auth headers.

Associated revisions

Revision 56e4015c (diff)
Added by Yehuda Sadeh about 10 years ago

rgw: handle temp url key authorization

Fixes: #3454
Implement auth handling code that checks temp url signature and
expiration. The key that is used for the signature is the bucket owner's
temp url key.

Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Ian Colle almost 11 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)

#2 Updated by Sage Weil almost 11 years ago

  • Tracker changed from Bug to Feature

#3 Updated by Ryan Grenz over 10 years ago

Bump .. would really love to see this feature in there.
We are deploying Cloud Foundry v2 into Openstack, and want to use RadosGW to provide the Swift interface, which will enable us to implement this: https://github.com/anynines/cf-docs/blob/10a6b850b2cfb8fa36d386de0d6c3b8a8fda77b8/source/docs/running/deploying-cf/openstack/using_swift_blobstore.html.md

#4 Updated by Neil Levine over 10 years ago

  • Source changed from Development to Support

#5 Updated by ramon makkelie over 10 years ago

Samen problem as Ryan
so if this could be picked up that would be great

#6 Updated by Wayne E Seguin over 10 years ago

I have just run into this as well.

Is there a timeline for this?

#7 Updated by Neil Levine over 10 years ago

  • Status changed from New to 12

#8 Updated by Ian Colle over 10 years ago

  • Target version set to v0.74

#9 Updated by Ian Colle over 10 years ago

  • Assignee set to Yehuda Sadeh

#10 Updated by Ian Colle over 10 years ago

  • translation missing: en.field_story_points set to 5.0

#11 Updated by Sage Weil over 10 years ago

  • Status changed from 12 to Fix Under Review

#12 Updated by Sage Weil over 10 years ago

  • Target version changed from v0.74 to v0.75

#13 Updated by Ian Colle about 10 years ago

  • Target version changed from v0.75 to v0.76

#14 Updated by Yehuda Sadeh about 10 years ago

  • Status changed from Fix Under Review to Resolved

merged upstream, commit:c60ae09b389c808735415553e31c871cfa42f776. I opened a new task (#7156) for creating a test for this feature.

#15 Updated by Blair Bethwaite over 9 years ago

This should be documented somewhere too, at least in the table at http://ceph.com/docs/master/radosgw/swift/

Also available in: Atom PDF