Ask Your Question

How to configure swift conatiner, so that it can be used without auth token openstack

asked 2015-01-21 22:22:47 -0500

I have defined the swift container and here is the list

bash $ swift -A -U myaccount:me -K secretpassword list

In order to Access these container what i need to pass is the AUTH_TOEKN & STORAGE_URL similar to this

curl -X GET -H "X-Auth-Token: AUTH_tkd5bdbf9af4eb418a82f03202dd7d1765" ""

How to configured these swift container, without any AUTH_TOKEN, by saying this how to use these container, to read and write without any AUTH_TOKEN involved

I'm trying to integrate a legacy application, where the files can directly upload to the swift without any code changes, the legacy app is capable of sending REST API

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-22 00:47:59 -0500

This may work for you as it doesn't require an auth token to upload objects to a specific container.

"FormPost is designed to allow web browsers to upload files directly into Object Storage by using signature-based authentication. In effect a browser form post becomes a regular Object Storage object PUT".

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-21 22:22:47 -0500

Seen: 305 times

Last updated: Jan 22 '15