Direct link to Swift objects

asked 2013-10-03 10:53:12 -0600

JeRome gravatar image

Is there a way to provide user a direct link to an object on a storage using Swift API? I've seen ways to download objects using cURL, however you have to provide headers there. What i am trying to achieve is to have a download link on a webpage, by clicking on which user gets a file. Is this possible?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-10-03 15:15:23 -0600

It's easy to do if you set your container as public containers with the help of ACL see an article here detailling the usage of ACL with swift (and keystone) :

edit flag offensive delete link more


Hi! Thanks a lot for your answer! However the problem is I am searching for a way to provide link to private container (I realize that link should contain credentials in this case). For example in S3 interface there is a way to do it, is there a similar way for swift?

JeRome gravatar imageJeRome ( 2013-10-04 03:38:09 -0600 )edit

answered 2015-12-12 04:23:49 -0600

Fal' gravatar image


Old question, but the answer is the openstack tempurls feature :)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-03 10:53:12 -0600

Seen: 1,102 times

Last updated: Oct 03 '13